Mercurial Hosting > traffic-intelligence
diff trafficintelligence/utils.py @ 1089:10205bd0e0b7
corrected bug
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Wed, 05 Dec 2018 16:58:54 -0500 |
parents | 0680387a89bb |
children | 7594802f281a |
line wrap: on
line diff
--- a/trafficintelligence/utils.py Wed Nov 14 12:30:50 2018 -0500 +++ b/trafficintelligence/utils.py Wed Dec 05 16:58:54 2018 -0500 @@ -1057,7 +1057,7 @@ If remove is True, the filenames are stripped from the extension''' d = Path(dirname) if d.is_dir(): - tmp = [str(f) for f in d.glob('*.extension')] + tmp = [str(f) for f in d.glob('*.'+extension)] if remove: return [removeExtension(f, extension) for f in tmp] else: