diff options
author | makefu <github@syntax-fehler.de> | 2014-03-25 21:08:20 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-03-25 21:08:20 +0100 |
commit | a0abc19485f37475be36662fa4f05b6218f299d7 (patch) | |
tree | ab3bd3aac0d6b6377c49322c091359af05833d06 | |
parent | b8dc4ea2af56884d0908d1c9261f23c76951c567 (diff) |
ircasy: fix retry, because you always want retry
-rw-r--r-- | IRC/ircasy.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/IRC/ircasy.py b/IRC/ircasy.py index 57ec918..068cd46 100644 --- a/IRC/ircasy.py +++ b/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 |