From 992053bdee7af32393b28252fad806c34fa5a1fa Mon Sep 17 00:00:00 2001 From: Anon Date: Sun, 9 Oct 2022 14:44:30 -0700 Subject: [PATCH] Fixed crash and removed unused function --- src/create_app.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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