From ec684eaefc3258fbc0a502276375b8c21a475b19 Mon Sep 17 00:00:00 2001 From: Lukas Pfannschmidt Date: Thu, 7 Jan 2016 18:40:29 +0100 Subject: [PATCH] Removed useless import. --- moin2doku.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/moin2doku.py b/moin2doku.py index 7e59bc5..51ee558 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -9,7 +9,6 @@ # Version: 1.0 import sys, os, os.path, re, codecs -sys.path.insert(1,'/home/caddy/.conda/envs/moinmoin/lib/python2.7/site-packages/MoinMoin/support') import getopt from MoinMoin import user, wikiutil from MoinMoin.web.contexts import ScriptContext as RequestCLI @@ -160,8 +159,7 @@ def convertfile(page, output = None, overwrite = False): pagename = wikiname(pagedir) if not output: - output = pagename.split("/") - + output = pagename if page.isUnderlayPage(): print "underlay: %s" % page.request.cfg.data_underlay_dir