Fix WateringNeeds not writing footer

This commit is contained in:
April 2022-11-13 16:23:53 -07:00
parent 29420a3a50
commit 60d6728926
No known key found for this signature in database
GPG Key ID: 17A9A017FAA4DE5E

View File

@ -54,7 +54,7 @@ async def makeRecord():
await getData(x,y)
async with aiofiles.open('./.temp/WateringNeeds.i2m', 'a') as end:
end.write(footer)
await end.write(footer)
dom = xml.dom.minidom.parse('./.temp/WateringNeeds.i2m')
xmlPretty = dom.toprettyxml(indent= " ")