update log msg for scan

This commit is contained in:
Georges-Antoine Assi
2024-02-18 09:26:50 -05:00
parent 6511a62e64
commit ae2ee98cca

View File

@@ -316,13 +316,13 @@ class IGDBHandler:
with open(MAME_XML_FILE, "r") as index_xml:
mame_index = xmltodict.parse(index_xml.read())
except FileNotFoundError:
log.warning("Fetching the MAME XML file from HyperspinFE...")
log.warning("Fetching the MAME XML file from Github...")
await update_mame_xml_task.run(force=True)
try:
with open(MAME_XML_FILE, "r") as index_xml:
mame_index = xmltodict.parse(index_xml.read())
except FileNotFoundError:
log.error("Could not fetch the MAME XML file from HyperspinFE")
log.error("Could not fetch the MAME XML file from Github")
finally:
index_entry = [
game