Use method .getboolean() to read boolean option relay.ssl
This commit is contained in:
parent
fbb0156dae
commit
9738f64af8
@ -141,7 +141,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||||||
if self.config.getboolean('relay', 'autoconnect'):
|
if self.config.getboolean('relay', 'autoconnect'):
|
||||||
self.network.connect_weechat(self.config.get('relay', 'server'),
|
self.network.connect_weechat(self.config.get('relay', 'server'),
|
||||||
self.config.get('relay', 'port'),
|
self.config.get('relay', 'port'),
|
||||||
self.config.get('relay', 'ssl') == 'on',
|
self.config.getboolean('relay', 'ssl'),
|
||||||
self.config.get('relay', 'password'))
|
self.config.get('relay', 'password'))
|
||||||
|
|
||||||
self.show()
|
self.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user