mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-22 05:26:24 +02:00
Issue #13: add --country argument.
This commit is contained in:
parent
34d7ae0dbc
commit
8aadb79f62
3 changed files with 7 additions and 1 deletions
|
@ -97,7 +97,6 @@ def match_location(restrictions: dict[str, str], country: str) -> bool:
|
|||
if (
|
||||
"include" in restrictions
|
||||
and restrictions["include"] != "world"
|
||||
and country != "world"
|
||||
and country not in restrictions["include"]
|
||||
):
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue