don't crash when we're not under KDE. Fixes #1445
This commit is contained in:
		
							parent
							
								
									d533670951
								
							
						
					
					
						commit
						754abfddea
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -519,6 +519,8 @@ def possibly_set_gajim_as_xmpp_handler(): | |||
| 	if os.path.exists(path_to_dot_kde): | ||||
| 		path_to_kde_file = os.path.join(path_to_dot_kde,  | ||||
| 			'share/services/xmpp.protocol') | ||||
| 		if not os.path.exists(path_to_kde_file): | ||||
| 			path_to_kde_file = None | ||||
| 	else: | ||||
| 		path_to_kde_file = None | ||||
| 	 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue