aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-08-15 20:38:58 +0100
committerJuan J. Martinez <jjm@usebox.net>2019-08-15 20:38:58 +0100
commit07aaa73ada89cac2436dd4f76f2be3ed4870a337 (patch)
tree7ba4afe80f18cac258a1bcb7b62e8993adbd2a03
parentdd3a0ce9d8e08307ca05b71007646cf97ffbb8ec (diff)
downloadz80count-07aaa73ada89cac2436dd4f76f2be3ed4870a337.tar.gz
z80count-07aaa73ada89cac2436dd4f76f2be3ed4870a337.zip
Fix: isfile is part of os.path
-rw-r--r--z80count/z80count.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/z80count/z80count.py b/z80count/z80count.py
index 31e2f92..f274139 100644
--- a/z80count/z80count.py
+++ b/z80count/z80count.py
@@ -138,7 +138,7 @@ def locate_config_file():
# TODO: check on windows
z80count_rc = os.environ.get("Z80COUNT_RC")
- if z80count_rc and os.isfile(z80count_rc):
+ if z80count_rc and os.path.isfile(z80count_rc):
return z80count_rc
home_dir = os.path.expanduser("~")