bugfix
This commit is contained in:
parent
3ba6fdaf57
commit
bc0de26a18
@ -11,7 +11,7 @@ def get_event_loop():
|
|||||||
return asyncio.get_runnung_loop()
|
return asyncio.get_runnung_loop()
|
||||||
except:
|
except:
|
||||||
loop = asyncio.new_event_loop()
|
loop = asyncio.new_event_loop()
|
||||||
asyncio.set_event_loop()
|
asyncio.set_event_loop(loop)
|
||||||
return loop
|
return loop
|
||||||
|
|
||||||
def awaitify(sync_func):
|
def awaitify(sync_func):
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name=appPublic
|
name=appPublic
|
||||||
version = 5.2.10
|
version = 5.2.11
|
||||||
description = A set of base public functions or class
|
description = A set of base public functions or class
|
||||||
author = "yu moqing"
|
author = "yu moqing"
|
||||||
author_email = "yumoqing@gmail.com"
|
author_email = "yumoqing@gmail.com"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user