fix component property

This commit is contained in:
Victor Shyba 2022-03-05 05:00:57 -03:00
parent 758f9deafe
commit 2344aca146

View file

@ -722,8 +722,8 @@ class TrackerAnnouncerComponent(Component):
self.announce_task = None
@property
def component(self) -> ExchangeRateManager:
return self.exchange_rate_manager
def component(self):
return self
async def announce_forever(self):
while True: