wrong version of ComicRN.py - fixed

This commit is contained in:
evilhero 2012-09-19 10:36:07 -04:00
parent d64abf9c02
commit 0018876826
1 changed files with 7 additions and 2 deletions

View File

@ -159,15 +159,16 @@ else:
# replace section # replace section
if remcrap == "no": compath = str(comdir) + sys.argv[3] if remcrap == "no": compath = str(comdir) + sys.argv[3]
if remcrap == "yes": else:
compath = str(comdir) + str(comyx) compath = str(comdir) + str(comyx)
if comicyearopt == "yes": if comicyearopt == "yes":
if comyear == "": if comyear == "":
comyear = "2012" comyear = "2012"
comyear = "(" + str(comyear) + ")" comyear = "(" + str(comyear) + ")"
compath = str(compath) + " " + str(comyear) compath = str(compath) + " " + str(comyear)
comicname = str(comyx) + " " + str(prettycomiss) + " " + str(issyear) comicname = str(comyx) + " " + str(prettycomiss) + " " + str(issyear)
if comicyearopt == "no": else:
comicname = str(comyx) + " " + str(prettycomiss) comicname = str(comyx) + " " + str(prettycomiss)
if repblank == "yes": if repblank == "yes":
@ -177,6 +178,10 @@ if repblank == "yes":
compath = str(comdir) + str(comyx) compath = str(comdir) + str(comyx)
if comicyearopt == "yes": if comicyearopt == "yes":
compath = str(compath) + '_' + str(comyear) 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 ("The directory should be: " + str(compath))
print ("filename should be: " + str(comicname) ) print ("filename should be: " + str(comicname) )