implement name property in abstract class

This commit is contained in:
gcarq
2018-06-23 12:28:32 +02:00
parent 112998c205
commit 96a405feb7
2 changed files with 5 additions and 9 deletions

View File

@@ -55,10 +55,6 @@ def authorized_only(command_handler: Callable[[Any, Bot, Update], None]) -> Call
class Telegram(RPC):
""" This class handles all telegram communication """
@property
def name(self) -> str:
return "telegram"
def __init__(self, freqtrade) -> None:
"""
Init the Telegram call, and init the super class RPC