conserver un tag sans clef de traduction
This commit is contained in:
parent
5f1cd67cc0
commit
525900fe84
@ -255,7 +255,7 @@ class Utils:
|
||||
"""Traduit le champ tag des éléments de data avec dict"""
|
||||
|
||||
for element in data["elements"]:
|
||||
if tag in element["tags"]:
|
||||
if tag in element["tags"] and tag in dictionnaire.keys():
|
||||
element["tags"][tag] = dictionnaire[element["tags"][tag]]
|
||||
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user