Removed directory path from function call.

This commit is contained in:
2018-09-16 23:01:49 +02:00
parent 96ca355c50
commit 2108f2f25a

View File

@@ -256,8 +256,7 @@ def scan_folder(path):
# Iterates over our scanned videos
with click.progressbar(scanned_videos, label='Parsing videos') as bar:
for v in bar:
v.subtitle_languages |= set(search_external_subtitles(v.name,
directory=path).values())
v.subtitle_languages |= set(search_external_subtitles(v.name).values())
refine(v)
videos.append(v)