made --stay-open work in GUI (#58)

This commit is contained in:
Micah Lee 2014-06-26 14:31:29 -04:00
parent c74e259fb4
commit 8fce3adeb5
3 changed files with 9 additions and 2 deletions

View file

@ -130,6 +130,7 @@ def main():
webapp.onion_host = local_host
webapp.qtapp = app
webapp.clipboard = app.clipboard()
webapp.stay_open = bool(stay_open)
# run the web app in a new thread
webapp_port = onionshare.choose_port()