Skip to content

Commit

Permalink
Fix in logs type
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Jun 13, 2020
1 parent 400e9f2 commit a5fe319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def trigger(self, action, args):
await database.logs.insert_one(
{
"direction": "in",
"type": action.split("pre_process_", 1),
"type": action.split("pre_process_", 1)[1],
"data": args[0].to_python(),
}
)
Expand Down

0 comments on commit a5fe319

Please sign in to comment.