mirror of
				https://github.com/DarkflameUniverse/NexusDashboard.git
				synced 2025-11-04 06:01:53 +00:00 
			
		
		
		
	fix import
This commit is contained in:
		
							
								
								
									
										2
									
								
								wsgi.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wsgi.py
									
									
									
									
									
								
							@@ -15,7 +15,7 @@ if __name__ == '__main__':
 | 
			
		||||
        app.run(host='0.0.0.0')
 | 
			
		||||
else:
 | 
			
		||||
    import logging
 | 
			
		||||
    from loggin.handlers import RotatingFileHandler
 | 
			
		||||
    from logging.handlers import RotatingFileHandler
 | 
			
		||||
    gunicorn_logger = logging.getLogger('gunicorn.error')
 | 
			
		||||
    app.logger.handlers = gunicorn_logger.handlers
 | 
			
		||||
    file_handler = RotatingFileHandler('nexus_dashboard.log', maxBytes=1024 * 1024 * 100, backupCount=20)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user