Skip to content

Commit cfc99cd

Browse files
committed
[O] Better variable names
1 parent 569ce92 commit cfc99cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/start_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def start(java: Path, mc_path: Path):
4040
subprocess.Popen(cmd, shell=True, cwd=mc_path).wait()
4141

4242
print('Server stopped, restarting in 5s\nPress any key to stop the server.')
43-
i, o, e = select.select([sys.stdin], [], [], 5)
44-
if i:
43+
has_input, _, _ = select.select([sys.stdin], [], [], 5)
44+
if has_input:
4545
print('Server stops.')
4646
exit(0)
4747

0 commit comments

Comments
 (0)