From 45da4adec8edf411e696d9bb3ac844f5b2ae135f Mon Sep 17 00:00:00 2001 From: evilhero Date: Sat, 23 Feb 2019 16:00:02 -0500 Subject: [PATCH] FIX:(#2211) When post-processing issues with a vYEAR designation in the filename, would incorrectly attempt to do both vYEAR & vNumber comparisons resulting in a fail --- mylar/PostProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/PostProcessor.py b/mylar/PostProcessor.py index 5b3d4ed9..87cd89df 100755 --- a/mylar/PostProcessor.py +++ b/mylar/PostProcessor.py @@ -781,7 +781,7 @@ class PostProcessor(object): else: logger.fdebug('%s[ISSUE-VERIFY][SeriesYear-Volume FAILURE] Series Year of %s DID NOT match to volume/year label of %s' % (module, watch_values['SeriesYear'], tmp_watchmatch_vol)) datematch = "False" - if len(watchvals) > 1 and int(tmp_watchmatch_vol) > 1: + elif len(watchvals) > 1 and int(tmp_watchmatch_vol) > 1: if int(tmp_watchmatch_vol) == int(tmp_watchlist_vol): logger.fdebug('%s[ISSUE-VERIFY][SeriesYear-Volume MATCH] Volume label of series Year of %s matched to volume label of %s' % (module, watch_values['ComicVersion'], watchmatch['series_volume'])) else: