diff inkscape/firefox/helper_mb.py @ 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 63aaf96209cd
children 50d33c3987ba
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