Draft: Fixed DWG import's QCAD config

This commit is contained in:
Yorik van Havre
2021-11-08 10:51:10 +01:00
parent 61de191771
commit 0b4e1ea556

View File

@@ -249,7 +249,7 @@ def convertToDxf(dwgfilename):
outdir = tempfile.mkdtemp()
basename = os.path.basename(dwgfilename)
result = outdir + os.sep + os.path.splitext(basename)[0] + ".dxf"
proc = subprocess.Popen((path, "-o", result, dwgfilename))
proc = subprocess.Popen((path, "-f", "-o", result, dwgfilename))
proc.communicate()
return result
except Exception: