mirror of
https://github.com/onyx-and-iris/q3rcon-cli.git
synced 2026-03-23 18:29:18 +00:00
fix spinner suffix
This commit is contained in:
parent
ac5b117e2c
commit
7af5caad89
@ -34,7 +34,7 @@ class Gametype(Command):
|
||||
|
||||
await client.send_command(f'g_gametype {self.new_gametype}')
|
||||
if self.force:
|
||||
async with Spinner('Forcing gametype change...'):
|
||||
async with Spinner('Forcing gametype change', suffix='...'):
|
||||
client.fragment_read_timeout = 1
|
||||
await client.send_command('map_restart')
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ class Map(Command):
|
||||
console.out.print_cvar(response)
|
||||
return
|
||||
|
||||
async with Spinner('Changing map...'):
|
||||
async with Spinner('Changing map', suffix='...'):
|
||||
async with Client(
|
||||
self.host, self.port, self.password, fragment_read_timeout=1
|
||||
) as client:
|
||||
|
||||
@ -14,7 +14,7 @@ class Maprestart(Command):
|
||||
|
||||
@override
|
||||
async def run(self):
|
||||
async with Spinner('Restarting map...'):
|
||||
async with Spinner('Restarting map', suffix='...'):
|
||||
async with Client(
|
||||
self.host, self.port, self.password, fragment_read_timeout=1
|
||||
) as client:
|
||||
|
||||
@ -14,7 +14,7 @@ class Maprotate(Command):
|
||||
|
||||
@override
|
||||
async def run(self):
|
||||
async with Spinner('Rotating map...'):
|
||||
async with Spinner('Rotating map', suffix='...'):
|
||||
async with Client(
|
||||
self.host, self.port, self.password, fragment_read_timeout=1
|
||||
) as client:
|
||||
|
||||
@ -14,7 +14,7 @@ class Status(Command):
|
||||
|
||||
@override
|
||||
async def run(self):
|
||||
async with Spinner('Fetching status...'):
|
||||
async with Spinner('Fetching status', suffix='...'):
|
||||
async with Client(
|
||||
self.host, self.port, self.password, fragment_read_timeout=0.5
|
||||
) as client:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user