From 3f339cda6f760dae4aa4519600bdec79e765762b Mon Sep 17 00:00:00 2001 From: ddPn08 Date: Sun, 2 Apr 2023 23:21:17 +0900 Subject: [PATCH] small fix --- library/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/library/utils.py b/library/utils.py index a6b05917..7d801a67 100644 --- a/library/utils.py +++ b/library/utils.py @@ -2,7 +2,5 @@ import threading from typing import * -def fire_in_thread(f): - def wrapped(*args, **kwargs): - threading.Thread(target=f, args=args, kwargs=kwargs).start() - return wrapped \ No newline at end of file +def fire_in_thread(f, *args, **kwargs): + threading.Thread(target=f, args=args, kwargs=kwargs).start() \ No newline at end of file