提交 c03e6565 编写于 作者: E Eric Yang

Fixing os.path.join '\' issue for Windows compatibility

上级 ccb9a479
......@@ -2,7 +2,7 @@
import os
def to_head( projectpath ):
pathlayers = os.path.join( projectpath, 'layers/' )
pathlayers = os.path.join( projectpath, 'layers/' ).replace('\\', '/')
return r"""
\documentclass[border=8pt, multi, tikz]{standalone}
\usepackage{import}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册