mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-05-24 08:20:42 -04:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user