forked from Dniel97/artemis
allnet: see previous
This commit is contained in:
parent
b35e7d6983
commit
34e2c50fb5
@ -138,7 +138,11 @@ class AllnetServlet:
|
||||
|
||||
if machine is not None:
|
||||
arcade = self.data.arcade.get_arcade(machine["arcade"])
|
||||
resp.country = arcade["country"] if machine["country"] is None else machine["country"] if machine["country"] is not None else AllnetCountryCode.JAPAN.value
|
||||
country = arcade["country"] if machine["country"] is None else machine["country"]
|
||||
if country is None:
|
||||
country = AllnetCountryCode.JAPAN.value
|
||||
|
||||
resp.country = country
|
||||
resp.place_id = arcade["id"]
|
||||
resp.allnet_id = machine["id"]
|
||||
resp.name = arcade["name"] if arcade["name"] is not None else ""
|
||||
|
Loading…
Reference in New Issue
Block a user