# HG changeset patch # User wycc # Date 1236533336 -28800 # Node ID 3d03451be4355223ea0051dc24b32f62d4929be1 # Parent 4350aa3691499b197cea983cd785207d00f2ef3e Import the file specified in the mozplugger helper. This is the first step to handle the same file between inkscape and helper diff -r 4350aa369149 -r 3d03451be435 inkscape/firefox/helper_mb.py --- 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