@@ -147,7 +147,7 @@ def run_gui(self) -> None:
147147
148148        class  ZillionManager (GameManager ):
149149            logging_pairs  =  [
150-                 ("Client" , "Archipelago" )
150+                 ("Client" , "Archipelago" ), 
151151            ]
152152            base_title  =  "Archipelago Zillion Client" 
153153
@@ -282,7 +282,7 @@ def on_package(self, cmd: str, args: dict[str, Any]) -> None:
282282
283283            payload  =  {
284284                "cmd" : "Get" ,
285-                 "keys" : [f"zillion-{ self .auth }  ]
285+                 "keys" : [f"zillion-{ self .auth }  ], 
286286            }
287287            async_start (self .send_msgs ([payload ]))
288288        elif  cmd  ==  "Retrieved" :
@@ -326,7 +326,7 @@ def process_from_game_queue(self) -> None:
326326                    n_locations  =  len (self .missing_locations ) +  len (self .checked_locations ) -  1   # -1 to ignore win 
327327                    logger .info (f"New Check: { loc_name } { self .ap_local_count } { n_locations }  )
328328                    async_start (self .send_msgs ([
329-                         {"cmd" : "LocationChecks" , "locations" : [server_id ]}
329+                         {"cmd" : "LocationChecks" , "locations" : [server_id ]}, 
330330                    ]))
331331                else :
332332                    # This will happen a lot in Zillion, 
@@ -338,7 +338,7 @@ def process_from_game_queue(self) -> None:
338338                if  not  self .finished_game :
339339                    async_start (self .send_msgs ([
340340                        {"cmd" : "LocationChecks" , "locations" : [loc_name_to_id ["J-6 bottom far left" ]]},
341-                         {"cmd" : "StatusUpdate" , "status" : ClientStatus .CLIENT_GOAL }
341+                         {"cmd" : "StatusUpdate" , "status" : ClientStatus .CLIENT_GOAL }, 
342342                    ]))
343343                    self .finished_game  =  True 
344344            elif  isinstance (event_from_game , events .DoorEventFromGame ):
@@ -347,7 +347,7 @@ def process_from_game_queue(self) -> None:
347347                    payload  =  {
348348                        "cmd" : "Set" ,
349349                        "key" : f"zillion-{ self .auth }  ,
350-                         "operations" : [{"operation" : "replace" , "value" : doors_b64 }]
350+                         "operations" : [{"operation" : "replace" , "value" : doors_b64 }], 
351351                    }
352352                    async_start (self .send_msgs ([payload ]))
353353            elif  isinstance (event_from_game , events .MapEventFromGame ):
@@ -367,7 +367,7 @@ def process_items_received(self) -> None:
367367                # TODO: colors in this text, like sni client? 
368368                logger .info (f"received { self .ap_id_to_name [ap_id ]} { from_name }  )
369369            self .to_game .put_nowait (
370-                 events .ItemEventToGame (zz_item_ids )
370+                 events .ItemEventToGame (zz_item_ids ), 
371371            )
372372            self .next_item  =  len (self .items_received )
373373
@@ -398,7 +398,7 @@ async def zillion_sync_task(ctx: ZillionContext) -> None:
398398        logger .info ("Start Zillion in RetroArch, then use the /sms command to connect to it." )
399399    await  asyncio .wait ((
400400        asyncio .create_task (ctx .look_for_retroarch .wait ()),
401-         asyncio .create_task (ctx .exit_event .wait ())
401+         asyncio .create_task (ctx .exit_event .wait ()), 
402402    ), return_when = asyncio .FIRST_COMPLETED )
403403
404404    last_log  =  "" 
@@ -443,7 +443,7 @@ def log_no_spam(msg: str) -> None:
443443                                        await  asyncio .wait ((
444444                                            asyncio .create_task (ctx .got_slot_data .wait ()),
445445                                            asyncio .create_task (ctx .exit_event .wait ()),
446-                                             asyncio .create_task (asyncio .sleep (6 ))
446+                                             asyncio .create_task (asyncio .sleep (6 )), 
447447                                        ), return_when = asyncio .FIRST_COMPLETED )  # to not spam connect packets 
448448                            else :  # not correct seed name 
449449                                log_no_spam ("incorrect seed - did you mix up roms?" )
@@ -467,7 +467,7 @@ def log_no_spam(msg: str) -> None:
467467                    await  asyncio .wait ((
468468                        asyncio .create_task (ctx .got_room_info .wait ()),
469469                        asyncio .create_task (ctx .exit_event .wait ()),
470-                         asyncio .create_task (asyncio .sleep (6 ))
470+                         asyncio .create_task (asyncio .sleep (6 )), 
471471                    ), return_when = asyncio .FIRST_COMPLETED )
472472            else :  # no name found in game 
473473                if  not  help_message_shown :
0 commit comments