Fixed crash and removed unused function

This commit is contained in:
Anon 2022-10-09 14:44:30 -07:00
parent 9a8b714d8d
commit 992053bdee

View File

@ -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