From 5590b88a17846391c4e0971537871aa9dfd02a9a Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 28 Nov 2015 22:48:34 -0800 Subject: [PATCH] be a bad person and swallow all command handling errors for now --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 61c21a8..0d24226 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,4 @@ +import fuckit import os import sys import traceback @@ -35,6 +36,7 @@ token = client.login_with_password(username=config["me"]["user"], password=confi rooms = client.get_rooms() +@fuckit def room_callback(event): room = rooms[event[u'room_id']] if u'user_id' in event and event[u'type'] == "m.room.message":