mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-07 14:23:01 -04:00
chore: refactor code quality issues
This commit is contained in:
parent
dd8742535f
commit
ea8d2cfdfe
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