cleanups
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user