1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-22 15:52:47 +00:00

FIX: callback value was not set on secondary dupecheck pass

This commit is contained in:
evilhero 2018-05-01 16:28:10 -04:00
parent c98d50bd9f
commit 47b475702e

View file

@ -2134,7 +2134,7 @@ def duplicate_filecheck(filename, ComicID=None, IssueID=None, StoryArcID=None, r
#file is Archived, but no entry exists in the db for the location. Assume Archived, and don't post-process. #file is Archived, but no entry exists in the db for the location. Assume Archived, and don't post-process.
#quick rescan of files in dir, then rerun the dup check again... #quick rescan of files in dir, then rerun the dup check again...
mylar.updater.forceRescan(ComicID) mylar.updater.forceRescan(ComicID)
chk1 = duplicate_filecheck(filename, ComicID, IssueID, StoryArcID) chk1 = duplicate_filecheck(filename, ComicID, IssueID, StoryArcID, rtnval)
rtnval = chk1 rtnval = chk1
else: else:
rtnval = {'action': "dupe_file", rtnval = {'action': "dupe_file",