mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
fix: remove warning for folder already exists in downloader
Nothing is wrong with the folder already existing -- silently ignore and move on. Might still have other files inside that haven't been downloaded yet.
This commit is contained in:
parent
4bfe104714
commit
497eb6fe50
@ -135,9 +135,6 @@ class Downloader(Singleton):
|
|||||||
except EnvironmentError as e:
|
except EnvironmentError as e:
|
||||||
logger.critical(str(e))
|
logger.critical(str(e))
|
||||||
|
|
||||||
else:
|
|
||||||
logger.warning(f'Path "{folder}" already exist.')
|
|
||||||
|
|
||||||
if os.getenv('DEBUG', None) == 'NODOWNLOAD':
|
if os.getenv('DEBUG', None) == 'NODOWNLOAD':
|
||||||
# Assuming we want to continue with rest of process?
|
# Assuming we want to continue with rest of process?
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user