From 0f6f3792b75efb15f3a6763a4d596b2f6738bed3 Mon Sep 17 00:00:00 2001 From: evilhero Date: Thu, 9 Jun 2016 10:39:28 -0400 Subject: [PATCH] FIX:(#1298) Fix for post-processing filenames that do not have a year or volume label present within filename --- mylar/PostProcessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/PostProcessor.py b/mylar/PostProcessor.py index f7a82cae..7b7d87d9 100755 --- a/mylar/PostProcessor.py +++ b/mylar/PostProcessor.py @@ -439,7 +439,7 @@ class PostProcessor(object): # then spit out the error message and don't post-process it. watch_values = cs['WatchValues'] logger.info(watch_values) - if watch_values['ComicVersion'] is None: + if any([watch_values['ComicVersion'] is None, watch_values['ComicVersion'] == 'None']): tmp_watchlist_vol = '1' else: tmp_watchlist_vol = re.sub("[^0-9]", "", watch_values['ComicVersion']).strip()