space
This commit is contained in:
parent
9145ef5df6
commit
216b880151
1 changed files with 6 additions and 6 deletions
|
@ -40,7 +40,7 @@ def json_dumps(obj):
|
||||||
def run_async(func):
|
def run_async(func):
|
||||||
@wraps(func)
|
@wraps(func)
|
||||||
def async_func(*args, **kwargs):
|
def async_func(*args, **kwargs):
|
||||||
func_hl = Thread(target = func, args = args, kwargs = kwargs)
|
func_hl = Thread(target=func, args=args, kwargs=kwargs)
|
||||||
func_hl.start()
|
func_hl.start()
|
||||||
return func_hl
|
return func_hl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue