From 07aaa73ada89cac2436dd4f76f2be3ed4870a337 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 15 Aug 2019 20:38:58 +0100 Subject: Fix: isfile is part of os.path --- z80count/z80count.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("~") -- cgit v1.2.3