bugfix
This commit is contained in:
parent
c61ca3bdcf
commit
c2d3932b94
@ -9,6 +9,7 @@ import json
|
|||||||
import time
|
import time
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
|
from appPublic.worker import get_event_loop
|
||||||
from appPublic.folderUtils import _mkdir
|
from appPublic.folderUtils import _mkdir
|
||||||
from appPublic.base64_to_file import base64_to_file, getFilenameFromBase64
|
from appPublic.base64_to_file import base64_to_file, getFilenameFromBase64
|
||||||
from appPublic.jsonConfig import getConfig
|
from appPublic.jsonConfig import getConfig
|
||||||
@ -24,7 +25,7 @@ class TmpFileRecord:
|
|||||||
self.timeout = timeout
|
self.timeout = timeout
|
||||||
self.time_period = 10
|
self.time_period = 10
|
||||||
self.filename = self.savefilename()
|
self.filename = self.savefilename()
|
||||||
self.loop = asyncio.get_event_loop()
|
self.loop = get_event_loop()
|
||||||
self.loop.call_later(0.01, self.load)
|
self.loop.call_later(0.01, self.load)
|
||||||
|
|
||||||
def newtmpfile(self, path:str):
|
def newtmpfile(self, path:str):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user