mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 22:45:03 -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
|
@ -514,8 +514,7 @@ def main(cwd=None):
|
|||
print("Stopped because auto-stop timer ran out")
|
||||
web.stop(app.port)
|
||||
break
|
||||
else:
|
||||
web.receive_mode.can_upload = False
|
||||
web.receive_mode.can_upload = False
|
||||
# Allow KeyboardInterrupt exception to be handled with threads
|
||||
# https://stackoverflow.com/questions/3788208/python-threading-ignores-keyboardinterrupt-exception
|
||||
time.sleep(0.2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue