This commit is contained in:
parent
c0ffcb76f7
commit
cbf4204c9e
@ -57,6 +57,8 @@ for view in [AssignmentView]:
|
||||
|
||||
register_health_checks(app)
|
||||
|
||||
app.logger.info(f"Hard default: {Config.DEFAULT_WHILE_NOT_DEFINED}")
|
||||
|
||||
# start debugging if needed
|
||||
if __name__ == "__main__":
|
||||
app.run(debug=True)
|
||||
|
@ -7,9 +7,7 @@ def parse_default_while_not_defined():
|
||||
if not envvar:
|
||||
return None, None
|
||||
|
||||
envvar = envvar.split(';', 1)[2:]
|
||||
|
||||
return envvar
|
||||
return envvar.split(';', 1)[:2]
|
||||
|
||||
|
||||
class Config:
|
||||
|
Loading…
Reference in New Issue
Block a user