From 1336a1c3b40933a39fc20732df4a76da002fff2b Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 22 Feb 2017 15:28:06 -0800 Subject: [PATCH] Update comments to be more accurate --- onionshare/web.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onionshare/web.py b/onionshare/web.py index 5fc329aa..0b400053 100644 --- a/onionshare/web.py +++ b/onionshare/web.py @@ -169,7 +169,7 @@ def check_slug_candidate(slug_candidate, slug_compare = None): abort(404) -# If "Stop sharing automatically" is checked (stay_open == False), only allow +# If "Stop After First Download" is checked (stay_open == False), only allow # one download at a time. download_in_progress = False @@ -182,7 +182,7 @@ def index(slug_candidate): add_request(REQUEST_LOAD, request.path) - # Deny new downloads if "Stop sharing automatically" is checked and there is + # Deny new downloads if "Stop After First Download" is checked and there is # currently a download global stay_open, download_in_progress deny_download = not stay_open and download_in_progress @@ -210,7 +210,7 @@ def download(slug_candidate): """ check_slug_candidate(slug_candidate) - # Deny new downloads if "Stop sharing automatically" is checked and there is + # Deny new downloads if "Stop After First Download" is checked and there is # currently a download global stay_open, download_in_progress deny_download = not stay_open and download_in_progress