Skip to content
Snippets Groups Projects
Verified Commit 1019b6fa authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

FIx exception message when merging settings

parent 716241a8
No related branches found
No related tags found
No related merge requests found
Pipeline #696 failed
......@@ -60,7 +60,7 @@ def merge_app_settings(setting: str, original: Union[dict, list], deduplicate: b
for entry in app_setting:
if entry in original:
if not deduplicate:
raise AttributeError("%s already set in original.")
raise AttributeError("%s already set in original." % entry)
else:
if isinstance(original, list):
original.append(entry)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment