diff inkscape/firefox/helper_mb.py @ 358:50d33c3987ba

Add loader for project file.
author wycc
date Wed, 11 Mar 2009 07:52:30 +0800
parents 3d03451be435
children 29145d2affdb
line wrap: on
line diff
--- a/inkscape/firefox/helper_mb.py	Wed Mar 11 01:32:09 2009 +0800
+++ b/inkscape/firefox/helper_mb.py	Wed Mar 11 07:52:30 2009 +0800
@@ -110,10 +110,15 @@
 			return d
 		except:
 			traceback.print_exc()
-		
-
-
-
+	def soap_GETPRJ(self,prj):
+		try:
+			f = open(prj,"r")
+			l = f.read()
+			f.close()
+			return l
+		except:
+			traceback.print_exc()
+	
 class Client(object):
 	def __init__(self):
 		self.proxy = soap.Proxy('http://localhost:8080')