From: Ian Jackson Date: Sun, 9 Apr 2017 22:44:24 +0000 (+0100) Subject: config dir reading fix X-Git-Tag: hippotat/1.0.0~55^2~50 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=hippotat.git;a=commitdiff_plain;h=2b13e1cc46b86b15a1522b225cde77e3e946f4cf config dir reading fix Signed-off-by: Ian Jackson --- 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: