summaryrefslogtreecommitdiffstats
path: root/share/extensions
diff options
context:
space:
mode:
authorJosh Andler <scislac@gmail.com>2010-08-13 14:54:19 +0000
committerJosh Andler <scislac@gmail.com>2010-08-13 14:54:19 +0000
commitd6d599ea50b5b7b5b0a8390db04f7271cebfebc0 (patch)
treeb6fab38bb17a2f02bb19a047bf8403edac9bcac4 /share/extensions
parentTranslations. Romanian translation update by Cristian Secară. (diff)
downloadinkscape-d6d599ea50b5b7b5b0a8390db04f7271cebfebc0.tar.gz
inkscape-d6d599ea50b5b7b5b0a8390db04f7271cebfebc0.zip
Revs 9706-9709 from trunk to fix Uniconvertor and 3 connector crashes
(bzr r9606.1.48)
Diffstat (limited to 'share/extensions')
-rw-r--r--share/extensions/uniconv-ext.py2
-rw-r--r--share/extensions/uniconv_output.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/uniconv-ext.py b/share/extensions/uniconv-ext.py
index d3d69546c..a7608bc56 100644
--- a/share/extensions/uniconv-ext.py
+++ b/share/extensions/uniconv-ext.py
@@ -57,7 +57,7 @@ if cmd == None:
'http://sk1project.org/modules.php?name=Products&product=uniconvertor\n'+\
'and install into your Inkscape\'s Python location\n'))
sys.exit(1)
- cmd = 'python -c "import uniconvertor"'
+ cmd = 'python -c "import uniconvertor; uniconvertor.uniconv_run()"'
run((cmd+' "%s" "%%s"') % sys.argv[1].replace("%","%%"), "UniConvertor")
diff --git a/share/extensions/uniconv_output.py b/share/extensions/uniconv_output.py
index f7746c2f4..720666103 100644
--- a/share/extensions/uniconv_output.py
+++ b/share/extensions/uniconv_output.py
@@ -123,7 +123,7 @@ def get_command():
'http://sk1project.org/modules.php?name=Products&product=uniconvertor\n'+\
'and install into your Inkscape\'s Python location\n'))
sys.exit(1)
- cmd = 'python -c "from uniconvertor import uniconv; uniconv();"'
+ cmd = 'python -c "import uniconvertor; uniconvertor.uniconv_run();"'
return cmd