chiark / gitweb /
config dir reading fix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 22:44:24 +0000 (23:44 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 9 Apr 2017 22:44:24 +0000 (23:44 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
hippotatlib/__init__.py

index 64cc6e5..4c7dd90 100644 (file)
@@ -546,7 +546,7 @@ def common_startup(process_cfg):
     # is a directory
     log('directory')
     re = regexp.compile('[^-A-Za-z0-9_]')
-    for f in os.listdir(cdir):
+    for f in os.listdir(pathname):
       if re.search(f): continue
       subpath = pathname + '/' + f
       try: