X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/09444838209cb9fd08f799553889ff04a015e8ad..12e7b7cbf07c8633f3093df7b4898156cca768f6:/apps/explorer/forms.py diff --git a/apps/explorer/forms.py b/apps/explorer/forms.py index f7fcf07e..48b410b5 100644 --- a/apps/explorer/forms.py +++ b/apps/explorer/forms.py @@ -49,7 +49,7 @@ class DublinCoreForm(forms.Form): self.fields[name].initial = value def save(self, repository, path): - file_contents = repository.get_file(path).data() + file_contents = repository.get_file(path) doc = etree.fromstring(file_contents) book_info = dcparser.BookInfo()