Conflict name

This commit is contained in:
BarsTiger
2022-04-15 14:07:06 +03:00
parent 968cd6358b
commit e8a5be25cf
4 changed files with 6 additions and 6 deletions

10
ezzthread.py Normal file
View File

@@ -0,0 +1,10 @@
import threading
def threaded(func):
"""
Decorator to start a function in a new thread
"""
def thr(*args, **kwargs):
threading.Thread(target=func, args=(*args,), kwargs={**kwargs, }).start()
return thr