Commit 893191ca authored by Tong Zeng's avatar Tong Zeng

fix a bug in list_files_with_name

parent ac085628
......@@ -140,7 +140,7 @@ def list_files_with_name(filename):
continue
path = os.path.join(dirpath, filename)
if os.path.isfile(filename):
if os.path.isfile(path):
res.append(path)
return res
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment