mirror of
https://github.com/evilhero/mylar
synced 2025-02-02 04:21:43 +00:00
FIX: When peforming an import on a given series, would error attempting to log an integer value improperly
This commit is contained in:
parent
eea7a2b692
commit
964ebb8265
1 changed files with 1 additions and 3 deletions
|
@ -3272,13 +3272,12 @@ class WebInterface(object):
|
||||||
|
|
||||||
#figure out # of issues and the year range allowable
|
#figure out # of issues and the year range allowable
|
||||||
logger.info('yearTOP: ' + str(yearTOP))
|
logger.info('yearTOP: ' + str(yearTOP))
|
||||||
logger.info('minISSUE: ' + minISSUE)
|
|
||||||
logger.info('yearRANGE: ' + str(yearRANGE))
|
logger.info('yearRANGE: ' + str(yearRANGE))
|
||||||
if starttheyear is None:
|
if starttheyear is None:
|
||||||
if all([yearTOP != None, yearTOP != 'None']):
|
if all([yearTOP != None, yearTOP != 'None']):
|
||||||
if int(str(yearTOP)) > 0:
|
if int(str(yearTOP)) > 0:
|
||||||
minni = helpers.issuedigits(minISSUE)
|
minni = helpers.issuedigits(minISSUE)
|
||||||
logger.info(minni)
|
#logger.info(minni)
|
||||||
if minni < 1 or minni > 999999999:
|
if minni < 1 or minni > 999999999:
|
||||||
maxyear = int(str(yearTOP))
|
maxyear = int(str(yearTOP))
|
||||||
else:
|
else:
|
||||||
|
@ -3320,7 +3319,6 @@ class WebInterface(object):
|
||||||
#we now need to cycle through the results until we get a hit on both dynamicname AND year (~count of issues possibly).
|
#we now need to cycle through the results until we get a hit on both dynamicname AND year (~count of issues possibly).
|
||||||
logger.fdebug('[' + str(len(sresults)) + '] search results')
|
logger.fdebug('[' + str(len(sresults)) + '] search results')
|
||||||
search_matches = []
|
search_matches = []
|
||||||
|
|
||||||
for results in sresults:
|
for results in sresults:
|
||||||
rsn = filechecker.FileChecker()
|
rsn = filechecker.FileChecker()
|
||||||
rsn_run = rsn.dynamic_replace(results['name'])
|
rsn_run = rsn.dynamic_replace(results['name'])
|
||||||
|
|
Loading…
Reference in a new issue