use more globals

This commit is contained in:
Luna Mendes 2018-02-24 22:31:57 -03:00
parent dc589d9f3e
commit 6c85326b6a

View file

@ -129,6 +129,8 @@ class MemeClient:
await handler(message)
async def handle_1(self, message: str):
global db
uid, cwd, command = parse_logstr(message)
log.info('[process] Logging command '
f'uid={uid} cwd={cwd} cmd={command}')