X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/aee3eef6e1f1c4805da7d8b85799e6b9104b3216..2ed000ca9a064cd6a3b7c7f2bf7c4e6e55c9c914:/wtem/admin.py
diff --git a/wtem/admin.py b/wtem/admin.py
index b4b39fb..d4b6682 100644
--- a/wtem/admin.py
+++ b/wtem/admin.py
@@ -32,7 +32,7 @@ class AttachmentWidget(forms.Widget):
a_tag = '%s' % (value, value)
else:
a_tag = 'brak'
- return mark_safe(('' + a_tag) % (name, value))
+ return mark_safe(('' % (name, value)) + a_tag)
class SubmissionFormBase(forms.ModelForm):
class Meta: