sleep for zero to wait for keyboard interupt as to not corrupt json file

This commit is contained in:
xfnw 2020-07-23 20:18:39 +00:00
parent a22785e58e
commit 82bbfc0922

2
nboard
View file

@ -89,7 +89,7 @@ def main(stdscr):
#print(str(k)) # debug keycodes #print(str(k)) # debug keycodes
k = stdscr.getkey() k = stdscr.getkey()
time.sleep(0)
if __name__ == "__main__": if __name__ == "__main__":