mirror of
https://github.com/bbilly1/tilefy.git
synced 2024-08-02 16:03:34 +00:00
accept 0 as valid api resonse
This commit is contained in:
parent
c26c968a37
commit
2efd97d5d4
@ -44,7 +44,7 @@ class Api:
|
||||
"""make call using url from tile_config"""
|
||||
response = self.make_request()
|
||||
key_match = self.walk_response(response)
|
||||
if not key_match:
|
||||
if not key_match and not key_match == 0:
|
||||
print(f"failed to result with key_map: {response}")
|
||||
raise ValueError
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user