summaryrefslogtreecommitdiff
path: root/onionshare
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2019-01-19 20:43:25 -0800
committerMicah Lee <micah@micahflee.com>2019-01-19 20:43:25 -0800
commit3bbff7e85ab31e8fc593b74ec723b493f0c63936 (patch)
treeb3f2017a5e442088040c71fe669179eef98c9f9c /onionshare
parenta0c3a276ec4870b083bec829fcafab222ba51e68 (diff)
downloadonionshare-3bbff7e85ab31e8fc593b74ec723b493f0c63936.tar.gz
onionshare-3bbff7e85ab31e8fc593b74ec723b493f0c63936.zip
Finish removing web event REQUEST_CLOSE_SERVER, which used to be a receive mode feature to allow the Tor Browser user to close the server, but we removed
Diffstat (limited to 'onionshare')
-rw-r--r--onionshare/web/web.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/onionshare/web/web.py b/onionshare/web/web.py
index 0f156941..df838df7 100644
--- a/onionshare/web/web.py
+++ b/onionshare/web/web.py
@@ -35,11 +35,10 @@ class Web(object):
REQUEST_OTHER = 3
REQUEST_CANCELED = 4
REQUEST_RATE_LIMIT = 5
- REQUEST_CLOSE_SERVER = 6
- REQUEST_UPLOAD_FILE_RENAMED = 7
- REQUEST_UPLOAD_SET_DIR = 8
- REQUEST_UPLOAD_FINISHED = 9
- REQUEST_ERROR_DOWNLOADS_DIR_CANNOT_CREATE = 10
+ REQUEST_UPLOAD_FILE_RENAMED = 6
+ REQUEST_UPLOAD_SET_DIR = 7
+ REQUEST_UPLOAD_FINISHED = 8
+ REQUEST_ERROR_DOWNLOADS_DIR_CANNOT_CREATE = 9
def __init__(self, common, is_gui, mode='share'):
self.common = common