Fix flake8 warnings in desktop

This commit is contained in:
Micah Lee 2021-04-30 11:38:23 -07:00
parent cfbf07b903
commit bf08e29162
18 changed files with 35 additions and 44 deletions

View file

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

View file

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