From bc18b712f6476abb1e93a895ea8096f11884303f Mon Sep 17 00:00:00 2001 From: needlenose Date: Tue, 18 Oct 2022 20:55:55 -0700 Subject: [PATCH] Bugfix in alerts --- recordGenerators/Alerts.py | 1 + 1 file changed, 1 insertion(+) 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()