mirror of
https://github.com/evilhero/mylar
synced 2025-02-08 15:24:45 +00:00
FIX: fix for indentation error in last PR
This commit is contained in:
parent
abafe08f1d
commit
87712914bf
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ def pullsearch(comicapi, comicquery, offset, type):
|
|||
try:
|
||||
dom = parseString(r.content) #(data)
|
||||
except ExpatError:
|
||||
if u'<title>Abnormal Traffic Detected' in r.content:
|
||||
logger.error("ComicVine has banned this server's IP address because it exceeded the API rate limit.")
|
||||
if u'<title>Abnormal Traffic Detected' in r.content:
|
||||
logger.error('ComicVine has banned this server\'s IP address because it exceeded the API rate limit.')
|
||||
else:
|
||||
logger.warn('[WARNING] ComicVine is not responding correctly at the moment. This is usually due to some problems on their end. If you re-try things again in a few moments, it might work properly.')
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue