diff --git a/recordGenerators/Alerts.py b/recordGenerators/Alerts.py index 3a5ec63..ef0f919 100644 --- a/recordGenerators/Alerts.py +++ b/recordGenerators/Alerts.py @@ -317,6 +317,7 @@ def getAlerts(location): # TODO: This should be converted into a function so it works better with async, that way we're not getting hung up on that time.sleep() call. def makeRecord(): + global k with open("./.temp/BERecord.xml", 'a') as BERecord: BERecord.write('') BERecord.close()