From 91ccf3c53b4186c2e30495047a3cd7a2113843db Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 25 Mar 2014 21:08:20 +0100 Subject: ircasy: fix retry, because you always want retry --- Reaktor/IRC/ircasy.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Reaktor/IRC/ircasy.py') diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py index 57ec9189..068cd467 100644 --- a/Reaktor/IRC/ircasy.py +++ b/Reaktor/IRC/ircasy.py @@ -22,10 +22,10 @@ class asybot(asychat): asychat.__init__(self) #logger magic self.log = logging.getLogger('asybot_' + nickname) - hdlr = logging.handlers.SysLogHandler(facility=logging.handlers.SysLogHandler.LOG_DAEMON) - formatter = logging.Formatter( '%(filename)s: %(levelname)s: %(message)s') - hdlr.setFormatter(formatter) - self.log.addHandler(hdlr) + #hdlr = logging.handlers.SysLogHandler(facility=logging.handlers.SysLogHandler.LOG_DAEMON) + #formatter = logging.Formatter( '%(filename)s: %(levelname)s: %(message)s') + #hdlr.setFormatter(formatter) + #self.log.addHandler(hdlr) logging.basicConfig(level = loglevel) self.nickname = nickname @@ -45,7 +45,7 @@ class asybot(asychat): else: self.hostname = nickname - self.retry = False + self.retry = True self.server = server self.port = port self.channels = channels -- cgit v1.2.3