fix double dir name bug

pull/315/head
guidotheelen 2020-08-07 14:42:11 +02:00
parent d5e2614842
commit a025df0943
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ def collect_name_to_dirpath(directory, prefix, suffix, exclude=None):
dirs[:] = [d for d in dirs if d not in exclude]
if directory != '.':
dirname = path.join(directory, dirname)
dirname = directory
for f in files:
if not f.endswith(suffix):
continue