Load version info from Git. Fixes #387

This commit is contained in:
Tulir Asokan
2019-11-30 20:54:54 +02:00
parent 578af19baa
commit a239ca439a
5 changed files with 67 additions and 5 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ def command_handler(_func: Optional[CommandHandlerFunc] = None, *, needs_auth: b
class CommandProcessor(BaseCommandProcessor):
def __init__(self, context: c.Context) -> None:
super().__init__(az=context.az, config=context.config, event_class=CommandEvent,
loop=context.loop)
loop=context.loop, bridge=context.bridge)
self.tgbot = context.bot
self.bridge = context.bridge
self.az, self.config, self.loop, self.tgbot = context.core