X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..ba97be26778d65ec918fc90c678bb6ead48aff58:/src/catalogue/forms.py?ds=sidebyside

diff --git a/src/catalogue/forms.py b/src/catalogue/forms.py
index 53d69c15f..405ea7c48 100644
--- a/src/catalogue/forms.py
+++ b/src/catalogue/forms.py
@@ -76,7 +76,7 @@ class CustomPDFForm(forms.Form):
         for name, label in CUSTOMIZATION_FLAGS:
             self.fields[name] = forms.BooleanField(required=False, label=label)
         for name, label, choices in CUSTOMIZATION_OPTIONS:
-            self.fields[name] = forms.ChoiceField(choices, required=False, label=label)
+            self.fields[name] = forms.ChoiceField(choices=choices, required=False, label=label)
 
     def clean(self):
         self.cleaned_data['cust'] = self.customizations