FIX:(#1731) Logger error when attempting to rename a -1 issue number

This commit is contained in:
evilhero 2017-09-22 09:43:47 -04:00
parent 53446dc638
commit bd7224446a
1 changed files with 1 additions and 1 deletions

View File

@ -467,7 +467,7 @@ def rename_param(comicid, comicname, issue, ofilename, comicyear=None, issueid=N
x = float(issuenum)
#validity check
if x < 0:
logger.info('I\'ve encountered a negative issue #: %s. Trying to accomodate.' % issuenumeric)
logger.info('I\'ve encountered a negative issue #: %s. Trying to accomodate.' % issueno)
prettycomiss = '-' + str(zeroadd) + str(issueno[1:])
elif x == 9999999999:
logger.fdebug('Infinity issue found.')