summaryrefslogtreecommitdiff
path: root/cli/onionshare_cli/mode_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/onionshare_cli/mode_settings.py')
-rw-r--r--cli/onionshare_cli/mode_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/onionshare_cli/mode_settings.py b/cli/onionshare_cli/mode_settings.py
index b353fcde..4e3a27ab 100644
--- a/cli/onionshare_cli/mode_settings.py
+++ b/cli/onionshare_cli/mode_settings.py
@@ -102,7 +102,7 @@ class ModeSettings:
elif self.common.platform == "Windows":
# On Windows, os.path.expanduser() needs to use backslash, or else it
# retains the forward slash, which breaks opening the folder in explorer.
- return os.path.expanduser("~\OnionShare")
+ return os.path.expanduser("~\\OnionShare")
else:
# All other OSes
return os.path.expanduser("~/OnionShare")