Solving a tag creation issue
This commit is contained in:
parent
dfe26ba8ef
commit
81c777b9f8
2
main.py
2
main.py
@ -74,7 +74,7 @@ if SPECIE_LIST_PATH_IF_GBIF_METHOD == "":
|
||||
specie = line.split(" ")[0] + " " + line.split(" ")[1].lower().strip()
|
||||
dict_common_plants[specie] = {"Occurrence": {"leaf": 0, "flower": 0, "fruit": 0, "bark": 0}}
|
||||
try: dict_common_plants[specie]["Family"] = dict_classification[specie]
|
||||
except: dict_common_plants[specie]["Family"] = "Family not found"
|
||||
except: dict_common_plants[specie]["Family"] = "Family_not_found"
|
||||
dict_common_plants[specie]["Links"] = {"leaf": "", "flower": "", "fruit": "", "bark": ""}
|
||||
dict_common_plants[specie]["Authors"] = {"leaf": "", "flower": "", "fruit": "", "bark": ""}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user