Skip to content
Snippets Groups Projects
Unverified Commit 1b51ec81 authored by Dan Michael O. Heggø's avatar Dan Michael O. Heggø
Browse files

Fix editing section zero

Initially proposed at #249
parent 22a42951
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,7 @@ class Page(object):
data['starttimestamp'] = time.strftime('%Y%m%d%H%M%S', self.edit_time)
if bot:
data['bot'] = '1'
if section:
if section is not None:
data['section'] = section
data.update(kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment