From f0c99ec0a40c6f839b462557a8ffd911bf50f209 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Krzysztof=20Kosi=C5=84ski?= Date: Fri, 13 Aug 2010 04:24:55 +0200 Subject: [PATCH] Fix uniconvertor extensions to work with UC version 1.1.5 --- share/extensions/uniconv-ext.py | 2 +- share/extensions/uniconv_output.py | 2 +- 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 -- 2.30.2