From 9738f64af82d78bccf5f89546b8e21b03877f794 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 7 Feb 2014 11:51:12 +0100 Subject: [PATCH] Use method .getboolean() to read boolean option relay.ssl --- src/qweechat/qweechat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qweechat/qweechat.py b/src/qweechat/qweechat.py index 48c8fe0..5b95528 100755 --- a/src/qweechat/qweechat.py +++ b/src/qweechat/qweechat.py @@ -141,7 +141,7 @@ class MainWindow(QtGui.QMainWindow): if self.config.getboolean('relay', 'autoconnect'): self.network.connect_weechat(self.config.get('relay', 'server'), self.config.get('relay', 'port'), - self.config.get('relay', 'ssl') == 'on', + self.config.getboolean('relay', 'ssl'), self.config.get('relay', 'password')) self.show()