Commit 48a6d7bc authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Use True; value returned from main is unused

parent e436799e
......@@ -48,7 +48,7 @@ def main(win):
ypos[j] = randrange(0, r) + 2
j = 0
while 1:
while True:
x = randrange(0, c) + 2
y = randrange(0, r) + 2
......@@ -83,7 +83,7 @@ def main(win):
ch = stdscr.getch()
if ch == ord('q') or ch == ord('Q'):
return 0
return
elif ch == ord('s'):
stdscr.nodelay(0)
elif ch == ord(' '):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment