mirror of https://github.com/evilhero/mylar
FIX:(#1731) Logger error when attempting to rename a -1 issue number
This commit is contained in:
parent
53446dc638
commit
bd7224446a
|
@ -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.')
|
||||
|
|
Loading…
Reference in New Issue