mirror of
https://github.com/onyx-and-iris/q3rcon-cli.git
synced 2026-03-23 18:29:18 +00:00
rename TIMEOUTS to CMD_CONFIG
This commit is contained in:
parent
d7ea4d9fad
commit
968cd2dc8a
@ -78,14 +78,14 @@ class Q3rconCli(Command):
|
||||
if command.lower() == 'q':
|
||||
break
|
||||
|
||||
TIMEOUTS = {
|
||||
CMD_CONFIG = {
|
||||
'status': (2, 1, False),
|
||||
'fast_restart': (3, 1, True),
|
||||
'map_restart': (3, 1, True),
|
||||
'map': (3, 1, True),
|
||||
'map_rotate': (3, 1, True),
|
||||
}
|
||||
timeout, fragment_read_timeout, interpret = TIMEOUTS.get(
|
||||
timeout, fragment_read_timeout, interpret = CMD_CONFIG.get(
|
||||
command.split()[0].lower(),
|
||||
(DEFAULT_TIMEOUT, DEFAULT_FRAGMENT_READ_TIMEOUT, False),
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user