fix bug which causes the backend to crash when trying to import a season (function returns 3 values, but only 2 were expected)

This commit is contained in:
maxDorninger
2025-06-30 10:08:12 +02:00
parent 1ba4027547
commit ad76d7c338
2 changed files with 2 additions and 2 deletions

View File

@@ -440,7 +440,7 @@ class MovieService:
:param movie: The Movie object
"""
video_files, subtitle_files = import_torrent(torrent=torrent)
video_files, subtitle_files, all_files = import_torrent(torrent=torrent)
if len(video_files) != 0:
# TODO: send notification

View File

@@ -489,7 +489,7 @@ class TvService:
:param show: The Show object
"""
video_files, subtitle_files = import_torrent(torrent=torrent)
video_files, subtitle_files, all_files = import_torrent(torrent=torrent)
log.info(
f"Importing these {len(video_files)} files:\n" + pprint.pformat(video_files)