Skip to content

Commit 4772736

Browse files
author
Paolo Prete
committed
fix SVG to PDF export Windows issue
1 parent 9ff0cb2 commit 4772736

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

NEWS.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
--------------
2+
Version 1.25
3+
--------------
4+
* fix SVG to PDF export Windows issue
5+
16
--------------
27
Version 1.24
38
--------------

lib/python/spontini_server_core.py

+6
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,12 @@ def doPostSync(message, request):
11711171
merger.close()
11721172
for pdf in pdfList:
11731173
os.remove(os.path.join(wsDirPath, pdf))
1174+
1175+
try:
1176+
os.remove(os.path.join(wsDirPath, fileNameWOSuffix+"-svgexport.pdf"))
1177+
except:
1178+
pass
1179+
11741180
os.rename(os.path.join(wsDirPath, fileNameWOSuffix+"-cpy.pdf"), os.path.join(wsDirPath, fileNameWOSuffix+"-svgexport.pdf"))
11751181
log(clientInfo + "[generating PDF] Generated: " + os.path.join(wsDirPath, fileNameWOSuffix+"-svgexport.pdf"), "S")
11761182

lib/version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.24_alfa
1+
1.25_alfa

0 commit comments

Comments
 (0)