strictly restrict to .nfo in order to exclude .nfo\w+
This commit is contained in:
@@ -365,7 +365,7 @@ def movie_lists(source_folder, regexstr: str) -> typing.List[str]:
|
|||||||
skip_numbers = set()
|
skip_numbers = set()
|
||||||
success_folder = Path(conf.success_folder()).resolve()
|
success_folder = Path(conf.success_folder()).resolve()
|
||||||
for f in success_folder.glob(r'**/*'):
|
for f in success_folder.glob(r'**/*'):
|
||||||
if not re.match(r'\.nfo', f.suffix, re.IGNORECASE):
|
if not re.match(r'\.nfo$', f.suffix, re.IGNORECASE):
|
||||||
continue
|
continue
|
||||||
if file_modification_days(f) > nfo_skip_days:
|
if file_modification_days(f) > nfo_skip_days:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user