Skip to content

Commit

Permalink
Fix duplicate slot entry in format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiky30 committed Aug 4, 2021
1 parent cb8bb36 commit 9d0697b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/utils/placeholder.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def get_placeholders(template):
if slot in clean_placeholders:
warnings.warn("Duplicate {{% placeholder \"{0}\" %}} "
"in template {1}."
.format(slot, template, slot),
.format(slot, template),
DuplicatePlaceholderWarning)
else:
validate_placeholder_name(slot)
Expand Down

0 comments on commit 9d0697b

Please sign in to comment.