diff --git a/main.py b/main.py index eebf85b..e1bc43b 100644 --- a/main.py +++ b/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": ""}