mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-22 20:31:30 +00:00
Add "wraps" handler to telegram wrapper
This commit is contained in:
@@ -78,6 +78,7 @@ def authorized_only(command_handler: Callable[..., Coroutine[Any, Any, None]]):
|
||||
:return: decorated function
|
||||
"""
|
||||
|
||||
@wraps(command_handler)
|
||||
async def wrapper(self, *args, **kwargs):
|
||||
""" Decorator logic """
|
||||
update = kwargs.get('update') or args[0]
|
||||
|
||||
Reference in New Issue
Block a user