chore: refactor code quality issues

This commit is contained in:
Aksh Gupta 2021-03-10 08:40:06 +00:00
parent dd8742535f
commit ea8d2cfdfe
32 changed files with 38 additions and 97 deletions

View file

@ -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)