summaryrefslogtreecommitdiffstats
path: root/Lib/dos_8x3/compilea.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos_8x3/compilea.py')
-rwxr-xr-xLib/dos_8x3/compilea.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dos_8x3/compilea.py b/Lib/dos_8x3/compilea.py
index 3120284..9947569 100755
--- a/Lib/dos_8x3/compilea.py
+++ b/Lib/dos_8x3/compilea.py
@@ -43,7 +43,7 @@ def compile_dir(dir, maxlevels = 10):
def compile_path(skip_curdir = 1):
for dir in sys.path:
- if dir == os.curdir and skip_curdir:
+ if (not dir or dir == os.curdir) and skip_curdir:
print 'Skipping current directory'
else:
compile_dir(dir, 0)