Skip to content

Commit

Permalink
Fix typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Mar 24, 2019
1 parent 49559f1 commit 14167f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freqtrade/rpc/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
logger.debug('Included module rpc.telegram ...')


def authorized_only(command_handler: Callable[[Any, Bot, Update], None]) -> Callable[..., Any]:
def authorized_only(command_handler: Callable[..., None]) -> Callable[..., Any]:
"""
Decorator to check if the message comes from the correct chat_id
:param command_handler: Telegram CommandHandler
Expand Down

0 comments on commit 14167f8

Please sign in to comment.