mirror of
https://github.com/evilhero/mylar
synced 2024-12-22 07:42:24 +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)'''
|
requests to bypass this in the future (i.e. pip install requests)'''
|
||||||
use_requests = False
|
use_requests = False
|
||||||
|
|
||||||
|
use_win32api = False
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
try:
|
try:
|
||||||
import win32api
|
import win32api
|
||||||
|
@ -22,7 +23,6 @@ if platform.system() == 'Windows':
|
||||||
running a Windows-based OS, so it would benefit you to install it. It enables ComicRN to better
|
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".'''
|
work with file paths beyond the 260 character limit. Run "pip install pypiwin32".'''
|
||||||
|
|
||||||
|
|
||||||
apc_version = "2.04"
|
apc_version = "2.04"
|
||||||
|
|
||||||
def processEpisode(dirName, nzbName=None):
|
def processEpisode(dirName, nzbName=None):
|
||||||
|
|
Loading…
Reference in a new issue