1
This commit is contained in:
parent
1d7840b984
commit
558d01eae5
@ -115,7 +115,10 @@ class _App:
|
|||||||
assert self._listened
|
assert self._listened
|
||||||
def thread_func(args):
|
def thread_func(args):
|
||||||
try:
|
try:
|
||||||
func(args)
|
if len(args) > 0:
|
||||||
|
func(args)
|
||||||
|
else:
|
||||||
|
func()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
f7.udplog.error('_dispatchIMMsg ' + str(e))
|
f7.udplog.error('_dispatchIMMsg ' + str(e))
|
||||||
if done_callback:
|
if done_callback:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user