Skip to content
Snippets Groups Projects
Commit 5bb85f4b authored by nkour's avatar nkour
Browse files

fix a tb on possibly_set_gajim_as_xmpp_handler

parent 0d01680d
No related branches found
No related tags found
No related merge requests found
......@@ -515,7 +515,8 @@ def possibly_set_gajim_as_xmpp_handler():
elif client.get_string('/desktop/gnome/url-handlers/xmpp/command') is None:
# only the first time (GNOME/GCONF)
we_set = True
elif not os.path.exists(path_to_kde_file): # only the first time (KDE)
elif path_to_kde_file or not os.path.exists(path_to_kde_file):
# only the first time (KDE)
we_set = True
else:
we_set = False
......
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