waiting slightly longer for webkit to initialize, because sometimes it's not ready after 0.1 sec

This commit is contained in:
Micah Lee 2014-05-31 20:16:03 -04:00
parent 1485734462
commit 1a6f08a846

View File

@ -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()