aboutsummaryrefslogtreecommitdiff
path: root/backend/data/genEolNameData.py
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-01 18:58:46 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-01 18:58:59 +1000
commitec29e5731136c74a1991e2f93b5e233747f2a230 (patch)
tree4f1c5263184c14431a5bd4f972072dc5edbbafd1 /backend/data/genEolNameData.py
parent56125407641ec8c633de7a5ee24cdd28c5221010 (diff)
Fix non-inclusion of canonical-names without english alt-names
Also fix lack of placeholder-image display in tile-info modal.
Diffstat (limited to 'backend/data/genEolNameData.py')
-rwxr-xr-xbackend/data/genEolNameData.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/data/genEolNameData.py b/backend/data/genEolNameData.py
index 8cb832d..200b459 100755
--- a/backend/data/genEolNameData.py
+++ b/backend/data/genEolNameData.py
@@ -55,8 +55,8 @@ with open(vnamesFile, newline="") as csvfile:
lang = row[3]
preferred = row[6] == "preferred"
# Add to maps
+ updateMaps(name1, pid, True, False)
if lang == "eng":
- updateMaps(name1, pid, True, False)
updateMaps(name2, pid, False, preferred)
# Open db connection