mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
chore: refactor code quality issues
This commit is contained in:
parent
5cdd01ccef
commit
6805f6acae
32 changed files with 38 additions and 97 deletions
|
@ -105,11 +105,10 @@ def main():
|
|||
if src[quote_i] == '"':
|
||||
quote = '"'
|
||||
break
|
||||
elif src[quote_i] == "'":
|
||||
if src[quote_i] == "'":
|
||||
quote = "'"
|
||||
break
|
||||
else:
|
||||
inc += 1
|
||||
inc += 1
|
||||
|
||||
# find the starting quote
|
||||
starting_i = src.find(quote, starting_i)
|
||||
|
|
|
@ -29,8 +29,6 @@ import inspect
|
|||
import os
|
||||
import sys
|
||||
import hashlib
|
||||
import zipfile
|
||||
import io
|
||||
import shutil
|
||||
import subprocess
|
||||
import requests
|
||||
|
|
|
@ -6,7 +6,6 @@ and installs it in the virtual environment.
|
|||
|
||||
import inspect
|
||||
import os
|
||||
import sys
|
||||
import glob
|
||||
import subprocess
|
||||
import shutil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue