Use method .getboolean() to read boolean option relay.ssl
This commit is contained in:
		
							parent
							
								
									fbb0156dae
								
							
						
					
					
						commit
						9738f64af8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sebastien Helleu
						Sebastien Helleu