]> git.lyx.org Git - features.git/commitdiff
This is supposed to end with a '/'
authorEnrico Forestieri <forenr@lyx.org>
Tue, 19 May 2015 21:18:18 +0000 (23:18 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 19 May 2015 21:18:56 +0000 (23:18 +0200)
lib/lyx2lyx/lyx_2_2.py

index f3a5371c94388971383fd4b0f700320938289ae1..cceabbe4d19997c6c1b87669d2fcdb428d727300 100644 (file)
@@ -1025,7 +1025,7 @@ def convert_origin(document):
     if document.dir == "":
         origin = "stdin"
     else:
-        origin = document.dir.replace('\\', '/')
+        origin = document.dir.replace('\\', '/') + '/'
         if os.name != 'nt':
             origin = unicode(origin, sys.getfilesystemencoding())
     document.header[i:i] = ["\\origin " + origin]