eric6/WebBrowser/WebBrowserPage.py

changeset 7759
51aa6c6b66f7
parent 7540
7a44cb47054b
child 7766
0af772bc14c4
--- a/eric6/WebBrowser/WebBrowserPage.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/WebBrowser/WebBrowserPage.py	Tue Oct 06 17:52:44 2020 +0200
@@ -306,7 +306,7 @@
         
         self.runJavaScript(script, worldId, resultCallback)
         
-        loop.exec_()
+        loop.exec()
         return resultDict["res"]
     
     def runJavaScript(self, script, worldId=-1, callback=None):
@@ -467,7 +467,7 @@
         
         self.print(printer, printCallback)
         
-        loop.exec_()
+        loop.exec()
         return resultDict["res"]
     
     def __contentsSizeChanged(self, size):

eric ide

mercurial