X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/hippotat/blobdiff_plain/307800de87824d5f39580901c893b801fb52fc8d..2b13e1cc46b86b15a1522b225cde77e3e946f4cf:/hippotatlib/__init__.py diff --git a/hippotatlib/__init__.py b/hippotatlib/__init__.py index 64cc6e5..4c7dd90 100644 --- a/hippotatlib/__init__.py +++ b/hippotatlib/__init__.py @@ -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: