WebBrowser/JavaScript/ExternalJsObject.py

changeset 6133
eba07240fac1
parent 6127
128d9567a533
child 6645
ad476851d7e0
--- a/WebBrowser/JavaScript/ExternalJsObject.py	Sun Feb 11 16:03:53 2018 +0100
+++ b/WebBrowser/JavaScript/ExternalJsObject.py	Sun Feb 11 16:04:16 2018 +0100
@@ -104,7 +104,7 @@
         """
         channel.registerObject("eric_object", ExternalJsObject(page))
         for jsObject in cls.extraObjects:
-            channel.registerObject("eric_{0}".forma(jsObject),
+            channel.registerObject("eric_{0}".format(jsObject),
                                    cls.extraObjects[jsObject])
     
     @classmethod

eric ide

mercurial