use more globals
This commit is contained in:
parent
dc589d9f3e
commit
6c85326b6a
1 changed files with 2 additions and 0 deletions
2
memed.py
2
memed.py
|
@ -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}')
|
||||
|
|
Loading…
Reference in a new issue