Skip to content

Commit

Permalink
fix: missing wraps #255
Browse files Browse the repository at this point in the history
  • Loading branch information
lumina37 committed Jan 17, 2025
1 parent 683fde9 commit ecc9731
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions aiotieba/helper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def handle_exception(
"""

def wrapper(func):
@functools.wraps(func)
async def awrapper(self, *args, **kwargs):
def _log(log_level: int, err: Exception | None = None) -> None:
logger = get_logger()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "aiotieba"
version = "4.5.1"
version = "4.5.2a0"
description = "Asynchronous I/O Client for Baidu Tieba"
authors = [{ name = "lumina37", email = "[email protected]" }]
urls = { Repository = "https://github.com/lumina37/aiotieba/", Documentation = "https://aiotieba.cc/" }
Expand Down

0 comments on commit ecc9731

Please sign in to comment.