Skip to content

Commit

Permalink
Add KeyboardException
Browse files Browse the repository at this point in the history
  • Loading branch information
DoyunShin committed Sep 21, 2022
1 parent 31f0780 commit 72232b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Server/singleapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,8 @@ def movtimestampsearch(self, param, ip):
while True:
r = storage.server.movtimestampsearch(url, "standalone")
if r["status"] == 200: break
sleep(5)
try:
sleep(5)
except KeyboardInterrupt:
exit()

0 comments on commit 72232b4

Please sign in to comment.