mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Install new dependencies so CircleCI tests run, and fix a pytest warning
This commit is contained in:
parent
790fe245e3
commit
a801f0a628
3 changed files with 12 additions and 6 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue