Suppression du score par défaut en cas d'erreur (#21)

Reviewed-on: #21
Reviewed-by: Corentin <solois.corentin@gmail.com>
Co-authored-by: Tipragot <contact@tipragot.fr>
Co-committed-by: Tipragot <contact@tipragot.fr>
This commit is contained in:
Tipragot 2024-01-07 09:49:02 +00:00 committed by Corentin
parent 9d51f823c2
commit 3366f71e51

View file

@ -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):