mirror of
https://github.com/evilhero/mylar
synced 2025-02-20 13:06:50 +00:00
graphic novels causing issues - warning message added indicating failure
This commit is contained in:
parent
0018876826
commit
d3b6a06878
1 changed files with 6 additions and 1 deletions
|
@ -200,7 +200,12 @@ def addComictoDB(comicid):
|
|||
issdate = '0000-00-00'
|
||||
int_issnum = int ( issis / 1000 )
|
||||
break
|
||||
if '.' in str(gcdval['GCDIssue']):
|
||||
if 'nn' in str(gcdval['GCDIssue']):
|
||||
#no number detected - GN, TP or the like
|
||||
logger.warn(u"Non Series detected (Graphic Novel, etc) - cannot proceed at this time.")
|
||||
updater.no_searchresults(comicid)
|
||||
return
|
||||
elif '.' in str(gcdval['GCDIssue']):
|
||||
issst = str(gcdval['GCDIssue']).find('.')
|
||||
issb4dec = str(gcdval['GCDIssue'])[:issst]
|
||||
#if the length of decimal is only 1 digit, assume it's a tenth
|
||||
|
|
Loading…
Reference in a new issue