X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3a211aa9d249e67425735f492407edbc2fd58a2f..f02d58db2f0a5f06c38d669c4b4c4fff95e55395:/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()