This commit is contained in:
Dirk Müller
2024-05-16 11:18:42 +02:00
parent 28d5c6e606
commit b0ffb01c59
4 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ def config(filename="database.ini", section="production"):
db[param[0]] = param[1]
else:
raise Exception(
"Section {0} not found in the {1} file".format(section, filename)
f"Section {section} not found in the {filename} file"
)
return db