X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0249ff0d913dfaef2a6f5e8518e5736545a23c28..0128515732e28982f0fafe28dbd5df19258ec670:/apps/explorer/forms.py?ds=inline

diff --git a/apps/explorer/forms.py b/apps/explorer/forms.py
index f7fcf07e..c2f7c3a0 100644
--- a/apps/explorer/forms.py
+++ b/apps/explorer/forms.py
@@ -7,7 +7,7 @@ from explorer import models
 
 class BookForm(forms.Form):
     content = forms.CharField(widget=forms.Textarea)
-    message = forms.CharField(required=False)
+    commit_message = forms.CharField(required=False)
 
 class ImageFoldersForm(forms.Form):
     folders = forms.ChoiceField(required=False)
@@ -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()