mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-08 01:01:03 +08:00
fix:修复windows 日志格式问题
This commit is contained in:
@@ -8,6 +8,6 @@ def timeit(func):
|
||||
result = func(*args, **kwargs)
|
||||
end = time.perf_counter()
|
||||
duration = end - start
|
||||
print(f"⏱️ {func.__name__} executed in {duration:.4f} seconds")
|
||||
print(f"{func.__name__} executed in {duration:.4f} seconds")
|
||||
return result
|
||||
return wrapper
|
||||
|
||||
Reference in New Issue
Block a user