X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..7e113c61d336d677b96ff0ed55a5f81eb2b80d53:/src/picture/forms.py?ds=inline diff --git a/src/picture/forms.py b/src/picture/forms.py index 2ad47b0b8..14706d9da 100644 --- a/src/picture/forms.py +++ b/src/picture/forms.py @@ -35,5 +35,6 @@ class PictureImportForm(forms.Form): return super(PictureImportForm, self).clean() def save(self, commit=True, **kwargs): - return Picture.from_xml_file(self.cleaned_data['picture_xml_file'], image_file=self.cleaned_data['picture_image_file'], - overwrite=True, **kwargs) + return Picture.from_xml_file( + self.cleaned_data['picture_xml_file'], image_file=self.cleaned_data['picture_image_file'], + overwrite=True, **kwargs)