diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index eed72485..5c427275 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -133,6 +133,7 @@ def main(): webapp.qtapp = app webapp.clipboard = app.clipboard() webapp.stay_open = stay_open + webapp.debug = debug # run the web app in a new thread webapp_port = onionshare.choose_port() diff --git a/onionshare_gui/webapp.py b/onionshare_gui/webapp.py index 46f8b3b7..11f62cd8 100644 --- a/onionshare_gui/webapp.py +++ b/onionshare_gui/webapp.py @@ -8,6 +8,7 @@ onion_host = None qtapp = None clipboard = None stay_open = None +debug = None url = None