mirror of
https://github.com/mewtek/i2ME-Legacy.git
synced 2025-06-10 05:30:00 -05:00
Prevent blocking when sending files to the i2
This commit is contained in:
@ -9,7 +9,7 @@ import xml.dom.minidom
|
||||
import shutil
|
||||
import gzip
|
||||
import logging,coloredlogs
|
||||
import aiofiles, aiohttp
|
||||
import aiohttp, aiofiles, asyncio
|
||||
|
||||
|
||||
import sys
|
||||
@ -324,6 +324,7 @@ async def getAlerts(location):
|
||||
|
||||
|
||||
async def makeRecord():
|
||||
loop = asyncio.get_running_loop()
|
||||
global k
|
||||
|
||||
# The BERecord XML doesn't need to be written if there's no alerts.
|
||||
|
Reference in New Issue
Block a user