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

prevent printing a useless traceback when gajim fails to start

parent 47bfbb3b
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,8 @@ def on_exit():
if os.path.exists(pid_filename):
os.remove(pid_filename)
# Shutdown GUI and save config
gajim.interface.roster.prepare_quit()
if hasattr(gajim.interface, 'roster'):
gajim.interface.roster.prepare_quit()
import atexit
atexit.register(on_exit)
......
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