File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
best_buy_bullet_bot/tracker Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,11 @@ def await_checkout(
178178 sound_effects .stop ()
179179
180180 Colors .print (
181- f'All requested "{ title } " were purchased.'
182- if money_manager .check_funds (pred_price )
183- else f"With only ${ money_manager .get_funds ():,.2f} you cannot afford { title } ." ,
181+ (
182+ f'All requested "{ title } " were purchased.'
183+ if money_manager .check_funds (pred_price )
184+ else f"With only ${ money_manager .get_funds ():,.2f} you cannot afford { title } ."
185+ ),
184186 "It will no longer be tracked to conserve resources.\n " ,
185187 properties = ["warning" ],
186188 )
@@ -464,9 +466,11 @@ def kill_all(*args, **kwargs):
464466 close_data ()
465467
466468 # Forcefully close everything
467- os .system (
468- f"taskkill /F /im { psutil .Process (os .getpid ()).name ()} "
469- ) if WINDOWS else os .killpg (os .getpgid (os .getpid ()), signal .SIGKILL )
469+ (
470+ os .system (f"taskkill /F /im { psutil .Process (os .getpid ()).name ()} " )
471+ if WINDOWS
472+ else os .killpg (os .getpgid (os .getpid ()), signal .SIGKILL )
473+ )
470474
471475 def clean_kill (* args , ** kwargs ):
472476 # Suppress error messages created as a result of termination
You can’t perform that action at this time.
0 commit comments