diff --git a/src/create_app.py b/src/create_app.py index ea2d7f8..1a3f985 100755 --- a/src/create_app.py +++ b/src/create_app.py @@ -109,14 +109,10 @@ def credentials_py(label, setting): return "{} = {}".format(label, pformat(setting)) -def credentials_ini_fmt(k, v): - return "{}={}".format(k, v) - - def credentials_ini(label, setting): - r = "[{}]\n".format(label) + r = "[{}]".format(label) for k, v in setting.items(): - r.append("{}={}\n".format(k, v)) + r += "\n{}={}".format(k, v) return r