Mercurial > MadButterfly
changeset 353:3d03451be435
Import the file specified in the mozplugger helper. This is the first step to handle the same file between inkscape and helper
author | wycc |
---|---|
date | Mon, 09 Mar 2009 01:28:56 +0800 |
parents | 4350aa369149 |
children | 92e8f9965f9a |
files | inkscape/firefox/helper_mb.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/inkscape/firefox/helper_mb.py Mon Mar 09 01:27:33 2009 +0800 +++ b/inkscape/firefox/helper_mb.py Mon Mar 09 01:28:56 2009 +0800 @@ -1,7 +1,7 @@ #!/usr/bin/python from twisted.web import server, resource,soap from twisted.internet import reactor,defer -import os,time +import os,time,sys import traceback @@ -145,7 +145,7 @@ pid = os.fork() if pid==0: - os.execvp("inkscape-mb",["inkscape-mb","/tmp/scene.mbsvg"]) + os.execvp("inkscape-mb",["inkscape-mb",sys.argv[1]]) s = Server() s.client = None s.pid = pid