Suppression du score par défaut en cas d'erreur #21
|
@ -23,7 +23,7 @@ def get_scores() -> list[tuple[int, str]]:
|
|||
return rq.get(f"https://{IP}/data").json()
|
||||
except:
|
||||
print("Error with the serveur")
|
||||
return [(1, "")]
|
||||
return []
|
||||
|
||||
|
||||
def __create_button(world: World, i: int, name: str):
|
||||
|
|
Loading…
Reference in a new issue