Fixing os.path.join '\' issue for Windows compatibility
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
def to_head( projectpath ):
|
def to_head( projectpath ):
|
||||||
pathlayers = os.path.join( projectpath, 'layers/' )
|
pathlayers = os.path.join( projectpath, 'layers/' ).replace('\\', '/')
|
||||||
return r"""
|
return r"""
|
||||||
\documentclass[border=8pt, multi, tikz]{standalone}
|
\documentclass[border=8pt, multi, tikz]{standalone}
|
||||||
\usepackage{import}
|
\usepackage{import}
|
||||||
|
|||||||
Reference in New Issue
Block a user