From 2dc1e0604bb631fd344d186ff9d2d9f4f2fb635b Mon Sep 17 00:00:00 2001 From: Winterbird Date: Thu, 5 Jan 2023 16:03:18 +0100 Subject: [PATCH] fix crash on multiep --- adbb/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adbb/utils.py b/adbb/utils.py index c681fe1..96c54af 100644 --- a/adbb/utils.py +++ b/adbb/utils.py @@ -305,7 +305,7 @@ def arrange_files(filelist, target_dir=None, dry_run=False, check_previous=False if str(e).lower() == str(epfile.episode.episode_number).lower(): epfile.update_mylist(watched=False, state='on hdd') else: - tmpfile = File(anime=epfile.anime, episode=e) + tmpfile = adbb.File(anime=epfile.anime, episode=e) tmpfile.update_mylist(watched=False, state='on hdd') def arrange_anime():