File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ def activate(self):
83
83
if not filename .endswith ('.wtt' ):
84
84
filename = filename + '.wtt'
85
85
86
- self .viewer ._wwt .widget .page .runJavaScript ("tourxml = '';" )
87
- tourxml = self .viewer ._wwt .widget .page .runJavaScript ('tourxml;' )
86
+ self .viewer ._wwt .widget .page .runJavaScript ("tourxml = '';" , asynchronous = False )
87
+ tourxml = self .viewer ._wwt .widget .page .runJavaScript ('tourxml;' , asynchronous = False )
88
88
89
89
self .viewer ._wwt .widget .page .runJavaScript (SAVE_TOUR_CODE )
90
90
@@ -93,7 +93,7 @@ def activate(self):
93
93
while time .time () - start < 10 :
94
94
time .sleep (0.1 )
95
95
app .processEvents ()
96
- tourxml = self .viewer ._wwt .widget .page .runJavaScript ('tourxml;' )
96
+ tourxml = self .viewer ._wwt .widget .page .runJavaScript ('tourxml;' , asynchronous = False )
97
97
if tourxml :
98
98
break
99
99
You can’t perform that action at this time.
0 commit comments