From 001887682631b4b1cba34c2da88d8baa09d4fac8 Mon Sep 17 00:00:00 2001 From: evilhero Date: Wed, 19 Sep 2012 10:36:07 -0400 Subject: [PATCH] wrong version of ComicRN.py - fixed --- sabnzbd/ComicRN.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sabnzbd/ComicRN.py b/sabnzbd/ComicRN.py index b66a6d1d..30dce463 100755 --- a/sabnzbd/ComicRN.py +++ b/sabnzbd/ComicRN.py @@ -159,15 +159,16 @@ else: # replace section if remcrap == "no": compath = str(comdir) + sys.argv[3] -if remcrap == "yes": +else: compath = str(comdir) + str(comyx) + if comicyearopt == "yes": if comyear == "": comyear = "2012" comyear = "(" + str(comyear) + ")" compath = str(compath) + " " + str(comyear) comicname = str(comyx) + " " + str(prettycomiss) + " " + str(issyear) -if comicyearopt == "no": +else: comicname = str(comyx) + " " + str(prettycomiss) if repblank == "yes": @@ -177,6 +178,10 @@ if repblank == "yes": compath = str(comdir) + str(comyx) if comicyearopt == "yes": compath = str(compath) + '_' + str(comyear) +else: + compath = str(comdir) + str(comyx) + if comicyearopt == "yes": + compath = str(compath) + ' ' + str(comyear) print ("The directory should be: " + str(compath)) print ("filename should be: " + str(comicname) )