diff --git a/coub-dl.py b/coub-dl.py index 2f9f31c..5031db6 100755 --- a/coub-dl.py +++ b/coub-dl.py @@ -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