1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-02 20:41:57 +00:00

fix for zero suppression error when running - was set to None instead of 0

This commit is contained in:
evilhero 2012-11-02 15:43:13 -04:00
parent 18f719fb6d
commit 455b06bc2c

View file

@ -45,7 +45,7 @@ def PostProcess(nzb_name, nzb_folder):
issueno = str(issuenum).split('.')[0]
log2screen = log2screen + "Issue Number: " + str(issueno) + "\n"
# issue zero-suppression here
if mylar.ZERO_LEVEL is None:
if mylar.ZERO_LEVEL == "0":
zeroadd = ""
else:
if mylar.ZERO_LEVEL_N == "none": zeroadd = ""