blob: 3827b333863ba4277b72925ac743c6063d19b380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -ruN sozi-org/tools/texts2paths/texts2paths.py sozi-new/tools/texts2paths/texts2paths.py
--- sozi-org/tools/texts2paths/texts2paths.py 2016-08-28 14:04:40.190289088 +0430
+++ sozi-new/tools/texts2paths/texts2paths.py 2016-08-28 14:08:39.806966462 +0430
@@ -7,6 +7,7 @@
from optparse import OptionParser
from lxml import etree
import subprocess, shutil, sys
+import os
if __name__ == '__main__':
option_parser = OptionParser()
@@ -44,6 +45,7 @@
command = ["inkscape"]
for t in texts:
command += ["--verb=EditDeselect", "--select=" + t.get("id"), "--verb=ObjectToPath"]
- command += ["--verb=FileSave", "--verb=FileClose", output_file_name]
+ command += ["--verb=FileSave", "--verb=FileClose",
+ "--verb=FileQuit", output_file_name]
subprocess.call(command)
|