diff options
Diffstat (limited to 'hatta/storage.py')
-rw-r--r-- | hatta/storage.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hatta/storage.py b/hatta/storage.py index ae70a39..3f77a58 100644 --- a/hatta/storage.py +++ b/hatta/storage.py @@ -196,6 +196,7 @@ class WikiStorage(object): def save_data(self, title, data, author=None, comment=None, parent_rev=None): """Save a new revision of the page. If the data is None, deletes it.""" + self.reopen() # Make sure we are at the tip. _ = self._ user = (author or _(u'anon')).encode('utf-8') text = (comment or _(u'comment')).encode('utf-8') |