small fix

This commit is contained in:
ddPn08
2023-04-02 23:21:17 +09:00
parent 16ba1cec69
commit 3f339cda6f

View File

@@ -2,7 +2,5 @@ import threading
from typing import * from typing import *
def fire_in_thread(f): def fire_in_thread(f, *args, **kwargs):
def wrapped(*args, **kwargs): threading.Thread(target=f, args=args, kwargs=kwargs).start()
threading.Thread(target=f, args=args, kwargs=kwargs).start()
return wrapped