From 344f5314caa8da3056167c29ea4fabd9dc362ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 6 May 2019 14:31:19 +0300 Subject: [PATCH] No more #debg --- botcmd.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/botcmd.py b/botcmd.py index 9685380..3a4d0cb 100644 --- a/botcmd.py +++ b/botcmd.py @@ -56,7 +56,6 @@ class GameLoop(threading.Thread): def get_event(self): event = self.chan.recv() - print(event)#debg return event def run(self): @@ -64,7 +63,6 @@ class GameLoop(threading.Thread): gameloop.game(self.send, self.notice, self.get_event) except Exception as err: self.send('Crash! (%s, %s)' % (type(err), repr(err))) - raise err #debg finally: self.chan.close() @@ -288,10 +286,8 @@ def initialize(*, config): def on_connect(*, irc): global nickserv_pass - """#debg irc.msg(b'nickserv', b'IDENTIFY ' + nickserv_pass.encode()) time.sleep(20) # One day I will do this correctly. Today is not the day - """#debg stop_gameloop() start_gameloop(irc)