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