From 5c9570d421102f81674796ceb45ffa36dc6beb94 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Mon, 22 Jan 2024 14:47:36 -0500 Subject: [PATCH] allnet: fix placeid formatting --- core/allnet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/allnet.py b/core/allnet.py index d9ac895..5df4700 100644 --- a/core/allnet.py +++ b/core/allnet.py @@ -212,7 +212,7 @@ class AllnetServlet: country = AllnetCountryCode.JAPAN.value resp.country = country - resp.place_id = arcade["id"] + resp.place_id = f"{arcade['id']:04X}" resp.allnet_id = machine["id"] resp.name = arcade["name"] if arcade["name"] is not None else "" resp.nickname = arcade["nickname"] if arcade["nickname"] is not None else ""