Skip to content
Snippets Groups Projects
Commit 754abfdd authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't crash when we're not under KDE. Fixes #1445

parent d5336709
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment