mirror of
https://github.com/evilhero/mylar
synced 2024-12-21 23:32:23 +00:00
FIX: undeclared variable when using ComicRN script on non-windows OS
This commit is contained in:
parent
e350eca3ef
commit
a1f844f5cd
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue