From 1a6f08a846a9b3d26e3bee5986bdc817b21af0af Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sat, 31 May 2014 20:16:03 -0400 Subject: [PATCH] waiting slightly longer for webkit to initialize, because sometimes it's not ready after 0.1 sec --- onionshare_gui/onionshare_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index 589b1c7c..4878b691 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -105,7 +105,7 @@ def main(): # start the web server thread_web = thread.start_new_thread(onionshare.app.run, (), {"port": port}) - gobject.timeout_add(100, startup_sync) + gobject.timeout_add(500, startup_sync) # main loop last_second = time.time()