From 849f81fabd4b906d11d618e8896551c1bfaf201d Mon Sep 17 00:00:00 2001 From: Adrian Amaglio Date: Fri, 1 May 2020 16:00:10 +0200 Subject: [PATCH] bit more doc --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 529e193..dd60721 100755 --- a/main.py +++ b/main.py @@ -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: