mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
tiny bug
This commit is contained in:
parent
48c6fadc98
commit
a47359f411
@ -67,8 +67,8 @@ class Downloader(Singleton):
|
||||
def _download_callback(self, request, result):
|
||||
result, data = result
|
||||
if result == 0:
|
||||
logger.critical('fatal errors occurred, quit.')
|
||||
exit(1)
|
||||
logger.warning('fatal errors occurred, ignored')
|
||||
# exit(1)
|
||||
elif result == -1:
|
||||
logger.warning('url {} return status code 404'.format(data))
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user