mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-04 07:25:10 -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue