X-Git-Url: https://git.distorted.org.uk/~mdw/hippotat/blobdiff_plain/26f04efff5ee7216ecc226d4eeadd01b970aa262..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: