From a1f844f5cdb6eff8d594ed6f4fbecc72c95dd373 Mon Sep 17 00:00:00 2001 From: evilhero Date: Wed, 9 Oct 2019 21:30:15 -0400 Subject: [PATCH] FIX: undeclared variable when using ComicRN script on non-windows OS --- post-processing/autoProcessComics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post-processing/autoProcessComics.py b/post-processing/autoProcessComics.py index b23df8e8..6b0c8cd3 100644 --- a/post-processing/autoProcessComics.py +++ b/post-processing/autoProcessComics.py @@ -13,6 +13,7 @@ except ImportError: requests to bypass this in the future (i.e. pip install requests)''' use_requests = False +use_win32api = False if platform.system() == 'Windows': try: import win32api @@ -21,8 +22,7 @@ if platform.system() == 'Windows': print '''The win32api module was not found on this system. While it's fine to run without it, you're running a Windows-based OS, so it would benefit you to install it. It enables ComicRN to better work with file paths beyond the 260 character limit. Run "pip install pypiwin32".''' - - + apc_version = "2.04" def processEpisode(dirName, nzbName=None):