Remove redundant load() call.
This commit is contained in:
parent
5f2c1d27b9
commit
3296dcc65d
|
@ -10,7 +10,6 @@ def main():
|
|||
cmd = form.getvalue("cmd", "view")
|
||||
page = form.getvalue("page", "FrontPage")
|
||||
wiki = WikiPage(page)
|
||||
wiki.load()
|
||||
method = getattr(wiki, 'cmd_' + cmd, None) or wiki.cmd_view
|
||||
method(form)
|
||||
|
||||
|
|
Loading…
Reference in New Issue