avoid possible keyerror
This commit is contained in:
		
							parent
							
								
									1353525bf2
								
							
						
					
					
						commit
						69b279d240
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -383,7 +383,7 @@ class Interface: | |||
| 		gajim.config.add_per('accounts', name) | ||||
| 		for opt in array[1]: | ||||
| 			gajim.config.set_per('accounts', name, opt, array[1][opt]) | ||||
| 		if self.windows['account_modification']: | ||||
| 		if self.windows.has_key('account_modification'): | ||||
| 			self.windows['account_modification'].account_is_ok(array[0]) | ||||
| 		self.windows[name] = {'infos': {}, 'chats': {}, 'gc': {}, 'gc_config': {}} | ||||
| 		self.queues[name] = {} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue