files dict is now only updated if actual files are present
This commit is contained in:
parent
7c9cc4618f
commit
2afd93edfb
@ -100,7 +100,7 @@ class coub_dl:
|
||||
for file in listdir(self._directory):
|
||||
for filename in self._files_dict:
|
||||
fullname = join(self._directory, file)
|
||||
if match('^{}.*'.format(self._files_dict[filename]), fullname):
|
||||
if match('^{}\..+$'.format(self._files_dict[filename]), fullname):
|
||||
self._files_dict[filename] = fullname
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user