bit more doc

This commit is contained in:
Adrian Amaglio 2020-05-01 16:00:10 +02:00
parent 2610c48a79
commit 849f81fabd

View File

@ -37,6 +37,7 @@ app = application = bottle.Bottle(catchall=False)
##################################################### Configuration ############################################$
def get_env(var, default=None):
"""var is an env var name, default is the value to return if var does not exist. If no default and no value, an exception is raised."""
if var in os.environ:
return os.environ[var]
elif default is not None: