mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-30 00:00:48 +02:00
add some debug hack
This commit is contained in:
parent
40072a8483
commit
dec3f44542
@ -137,6 +137,8 @@ class Downloader(Singleton):
|
||||
else:
|
||||
logger.warning(f'Path "{folder}" already exist.')
|
||||
|
||||
if os.getenv('DEBUG', None) == 'NODOWNLOAD':
|
||||
return
|
||||
queue = [(self, url, folder, constant.CONFIG['proxy']) for url in queue]
|
||||
|
||||
pool = multiprocessing.Pool(self.size, init_worker)
|
||||
|
Loading…
x
Reference in New Issue
Block a user