Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/XOCom.py
diff options
context:
space:
mode:
authorNick Doiron <ndoiron@mapmeld.com>2011-05-12 18:01:58 (GMT)
committer Nick Doiron <ndoiron@mapmeld.com>2011-05-12 18:01:58 (GMT)
commit83e0bcf3ad20f1b5d597bbb4b0848fac1cf19d32 (patch)
tree8c8999c9a71876cbd25ceacbd7c0b69672189529 /XOCom.py
parent5135d08908e319e23fa4d29ea109ffa6a08be7bb (diff)
Improved I/O, interface, new graph featureHEADmaster
Diffstat (limited to 'XOCom.py')
-rw-r--r--XOCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/XOCom.py b/XOCom.py
index e4cfa4c..07038fe 100644
--- a/XOCom.py
+++ b/XOCom.py
@@ -74,7 +74,7 @@ class XOCom:
# and return any value received from the javascript
def send_to_browser(self, command, parameter=None):
if((command == "read") and (parameter is not None)):
- self.web_view.load_uri("javascript:XO.observer.setSheet('"+parameter.replace('\\n','DECNEWLINE').replace('\n','NEWLINE').replace("'","\\'")+"');void(0);")
+ self.web_view.load_uri("javascript:XO.observer.setSheet('"+parameter.replace('\\n','DECNEWLINE').replace('\n','NEWLINE').replace("\\","B_SLASH").replace("'","\\'")+"');void(0);")
return
# Set up an array for parameters and return values for the XPCom call