Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Egypt is located in Africa and also in Asia
  • Loading branch information
BostX committed Mar 29, 2020
commit ee02187de95cb428696128f48d00eca564f26c91
5 changes: 4 additions & 1 deletion app/utils/continents.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
"UG": {"AFR"},
"UA": {"EUR"},
"MK": {"EUR"},
"EG": {"AFR"},
"EG": {"ASI" "AFR"},
"GB": {"EUR"},
"GG": {"EUR"},
"JE": {"EUR"},
Expand Down Expand Up @@ -302,6 +302,9 @@ def continent_codes_set(s):
TR - Turkey
KZ - Kazakhstan
AZ - Azerbaijan

ASI - Asia and AFR - Africa
EG - Egypt
"""
codes_set = country_code__continent_codes_set.get(s, default_continent_codes_set)
if codes_set == default_continent_codes_set:
Expand Down