Commit d0e49baf authored by Vadim Rutkovsky's avatar Vadim Rutkovsky

Quit GTK if unhandled exception occurs - fix import

parent 6bb686f5
......@@ -8,6 +8,7 @@ from gnomemusic.application import Application
def install_excepthook():
""" Make sure we exit when an unhandled exception occurs. """
from gi.repository import Gtk
old_hook = sys.excepthook
def new_hook(etype, evalue, etb):
old_hook(etype, evalue, etb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment