Permalink
Browse files

wrong version of ComicRN.py - fixed

  • Loading branch information...
1 parent d64abf9 commit 001887682631b4b1cba34c2da88d8baa09d4fac8 @evilhero committed Sep 19, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 sabnzbd/ComicRN.py
View
@@ -159,15 +159,16 @@
# 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 @@
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) )

0 comments on commit 0018876

Please sign in to comment.