mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01: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:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user