Code cleanup

This commit is contained in:
Dirk Müller
2024-05-16 15:47:45 +02:00
parent f5ffc83a69
commit 39fde7744a
8 changed files with 5 additions and 12 deletions

View File

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