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: try:
port = int(port) port = int(port)
except KeyboardInterrupt: except ValueError:
print(f'Invalid integer: {port}') print(f'Invalid integer: {port}')
continue continue

Loading…
Cancel
Save