From 497eb6fe506b0f7cdcb03aaba5705ae70d45b961 Mon Sep 17 00:00:00 2001 From: normalizedwater546 Date: Sun, 22 Sep 2024 01:00:06 +0000 Subject: [PATCH] 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. --- nhentai/downloader.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nhentai/downloader.py b/nhentai/downloader.py index 46c9960..6eb463d 100644 --- a/nhentai/downloader.py +++ b/nhentai/downloader.py @@ -135,9 +135,6 @@ class Downloader(Singleton): except EnvironmentError as e: logger.critical(str(e)) - else: - logger.warning(f'Path "{folder}" already exist.') - if os.getenv('DEBUG', None) == 'NODOWNLOAD': # Assuming we want to continue with rest of process? return True