aaa
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-12-10 23:51:00 +01:00
parent cbf4204c9e
commit d0d017a4f7

View File

@ -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}")