mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Format app update command properly as fstring not mixture
This commit is contained in:
parent
6346d23010
commit
cec44103c6
@ -34,11 +34,10 @@ class SteamCMDcommand:
|
||||
:return: Index command was added at
|
||||
"""
|
||||
self._commands.append(
|
||||
f"+app_update "
|
||||
f"{app_id}"
|
||||
f'{" validate" if validate else ""}'
|
||||
f'{" -beta {}".format(beta) if beta else ""}'
|
||||
f'{" -betapassword {}".format(beta_pass) if beta_pass else ""}'
|
||||
f"+app_update {app_id}"
|
||||
f"{' validate' if validate else ''}"
|
||||
f"{' -beta ' + beta if beta else ''}"
|
||||
f"{' -betapassword ' + beta_pass if beta_pass else ''}"
|
||||
)
|
||||
return len(self._commands) - 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user