This commit is contained in:
		@@ -57,10 +57,9 @@ for view in [AssignmentView]:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
register_health_checks(app)
 | 
					register_health_checks(app)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.logger.info(f"Hard default: {Config.DEFAULT_WHILE_NOT_DEFINED}")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# start debugging if needed
 | 
					# start debugging if needed
 | 
				
			||||||
if __name__ == "__main__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
 | 
					    app.logger.info(f"Hard default: {Config.DEFAULT_WHILE_NOT_DEFINED}")
 | 
				
			||||||
    app.run(debug=True)
 | 
					    app.run(debug=True)
 | 
				
			||||||
else:
 | 
					else:
 | 
				
			||||||
    import os
 | 
					    import os
 | 
				
			||||||
@@ -79,3 +78,5 @@ else:
 | 
				
			|||||||
        app.logger.info("Gunicorn environment detected!")
 | 
					        app.logger.info("Gunicorn environment detected!")
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
        app.logger.info("Not gunicorn")
 | 
					        app.logger.info("Not gunicorn")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    app.logger.info(f"Hard default: {Config.DEFAULT_WHILE_NOT_DEFINED}")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user