simplify as pagedir already is set
This commit is contained in:
parent
04b73c9c68
commit
de972b0374
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ def convert_editlog(pagedir, overwrite = False):
|
||||||
changes = []
|
changes = []
|
||||||
pagedir = os.path.abspath(pagedir)
|
pagedir = os.path.abspath(pagedir)
|
||||||
pagename = wikiname(pagedir)
|
pagename = wikiname(pagedir)
|
||||||
pagelog = Page(request, pagename).getPagePath('edit-log', use_underlay = 0, isfile = 1)
|
pagelog = os.path.join(pagedir, 'edit-log')
|
||||||
edit_log = editlog.EditLog(request, filename = pagelog)
|
edit_log = editlog.EditLog(request, filename = pagelog)
|
||||||
USEC = 1000000
|
USEC = 1000000
|
||||||
for log in edit_log:
|
for log in edit_log:
|
||||||
|
|
Loading…
Reference in a new issue