diff options
author | Micah Lee <micah@micahflee.com> | 2019-11-28 19:30:48 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2019-11-28 19:30:48 -0800 |
commit | 849176ac54b4cf0744f67a15b791bb0569e4e629 (patch) | |
tree | a2871459a66e606b320595f7c0fd76f006d5c320 /onionshare | |
parent | bea9dc009d04c8dd8d5b96b3d73f81abfb269731 (diff) | |
download | onionshare-849176ac54b4cf0744f67a15b791bb0569e4e629.tar.gz onionshare-849176ac54b4cf0744f67a15b791bb0569e4e629.zip |
Fix typos in comments
Diffstat (limited to 'onionshare')
-rw-r--r-- | onionshare/__init__.py | 2 | ||||
-rw-r--r-- | onionshare/mode_settings.py | 2 | ||||
-rw-r--r-- | onionshare/web/web.py | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/onionshare/__init__.py b/onionshare/__init__.py index dede3d8a..704f0a51 100644 --- a/onionshare/__init__.py +++ b/onionshare/__init__.py @@ -234,7 +234,7 @@ def main(cwd=None): # See what the persistent mode was mode = mode_settings.get("persistent", "mode") - # In share an website mode, you must supply a list of filenames + # In share and website mode, you must supply a list of filenames if mode == "share" or mode == "website": # Unless you passed in a persistent filename, in which case get the filenames from # the mode settings diff --git a/onionshare/mode_settings.py b/onionshare/mode_settings.py index 5082b7d7..6e875f0d 100644 --- a/onionshare/mode_settings.py +++ b/onionshare/mode_settings.py @@ -25,7 +25,7 @@ import json class ModeSettings: """ This stores the settings for a single instance of an OnionShare mode. In CLI there - is only one TabSettings, and in the GUI there is a separate TabSettings for each tab + is only one ModeSettings, and in the GUI there is a separate ModeSettings for each tab """ def __init__(self, common, filename=None, id=None): diff --git a/onionshare/web/web.py b/onionshare/web/web.py index bfdd2cac..8c4373fb 100644 --- a/onionshare/web/web.py +++ b/onionshare/web/web.py @@ -61,10 +61,6 @@ class Web: REQUEST_INVALID_PASSWORD = 14 def __init__(self, common, is_gui, mode_settings, mode="share"): - """ - tab_settings_get and tab_settings_set are getter and setter functions for tab settings - """ - self.common = common self.common.log("Web", "__init__", f"is_gui={is_gui}, mode={mode}") |