Browse Source

Fixed ValueError handling.

pull/2/head
Richard Neumann 4 years ago
parent
commit
4799af1ba9
  1. 2
      rcon/console.py

2
rcon/console.py

@ -38,7 +38,7 @@ def read_port() -> int:
try:
port = int(port)
except KeyboardInterrupt:
except ValueError:
print(f'Invalid integer: {port}')
continue

Loading…
Cancel
Save