mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-13 00:09:38 -05:00
waiting slightly longer for webkit to initialize, because sometimes it's not ready after 0.1 sec
This commit is contained in:
parent
1485734462
commit
1a6f08a846
@ -105,7 +105,7 @@ def main():
|
|||||||
# start the web server
|
# start the web server
|
||||||
thread_web = thread.start_new_thread(onionshare.app.run, (), {"port": port})
|
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
|
# main loop
|
||||||
last_second = time.time()
|
last_second = time.time()
|
||||||
|
Loading…
Reference in New Issue
Block a user