Install new dependencies so CircleCI tests run, and fix a pytest warning

This commit is contained in:
Micah Lee 2020-11-01 11:50:11 -08:00
parent fcb7601976
commit f15ee5e8bf
3 changed files with 12 additions and 6 deletions

View file

@ -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")