mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
Fix flake8 warnings in desktop
This commit is contained in:
parent
cfbf07b903
commit
bf08e29162
18 changed files with 35 additions and 44 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue