aboutsummaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2021-04-30 11:38:23 -0700
committerMicah Lee <micah@micahflee.com>2021-04-30 11:38:23 -0700
commitb51c0ee046b00cc99d8e0cdc147039521c815be4 (patch)
treedf6ade75d3053482b488efdda0dcac18adfc3974 /desktop/scripts
parent0a6056e5e6d6e29c2c2bd412ecf02ee9a2a4a8de (diff)
downloadonionshare-b51c0ee046b00cc99d8e0cdc147039521c815be4.tar.gz
onionshare-b51c0ee046b00cc99d8e0cdc147039521c815be4.zip
Fix flake8 warnings in desktop
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-xdesktop/scripts/get-tor-osx.py1
-rw-r--r--desktop/scripts/get-tor-windows.py5
2 files changed, 2 insertions, 4 deletions
diff --git a/desktop/scripts/get-tor-osx.py b/desktop/scripts/get-tor-osx.py
index f3aa6e7b..76c7a5fe 100755
--- a/desktop/scripts/get-tor-osx.py
+++ b/desktop/scripts/get-tor-osx.py
@@ -24,7 +24,6 @@ This script downloads a pre-built tor binary to bundle with OnionShare.
In order to avoid a Mac gnupg dependency, I manually verify the signature
and hard-code the sha256 hash.
"""
-
import inspect
import os
import sys
diff --git a/desktop/scripts/get-tor-windows.py b/desktop/scripts/get-tor-windows.py
index 9cb8898c..87080c4a 100644
--- a/desktop/scripts/get-tor-windows.py
+++ b/desktop/scripts/get-tor-windows.py
@@ -23,7 +23,6 @@ This script downloads a pre-built tor binary to bundle with OnionShare.
In order to avoid a Windows gnupg dependency, I manually verify the signature
and hard-code the sha256 hash.
"""
-
import inspect
import os
import sys
@@ -75,7 +74,7 @@ def main():
"e",
"-y",
exe_path,
- "Browser\TorBrowser\Tor",
+ "Browser\\TorBrowser\\Tor",
"-o%s" % os.path.join(working_path, "Tor"),
]
).wait()
@@ -85,7 +84,7 @@ def main():
"e",
"-y",
exe_path,
- "Browser\TorBrowser\Data\Tor\geoip*",
+ "Browser\\TorBrowser\\Data\\Tor\\geoip*",
"-o%s" % os.path.join(working_path, "Data"),
]
).wait()