diff --git a/frontends/src/jp/base.py b/frontends/src/jp/base.py index d6159214..24aae9b1 100644 --- a/frontends/src/jp/base.py +++ b/frontends/src/jp/base.py @@ -272,7 +272,7 @@ class Jp(object): /!\: return must be used after calling this method ! """ assert self._need_loop - # XXX: python-dbus will show a traceback if we exit in a signal handler with an error code + # XXX: python-dbus will show a traceback if we exit in a signal handler # so we use this little timeout trick to avoid it GLib.timeout_add(0, self.quit, errcode) @@ -496,7 +496,7 @@ class CommandBase(object): pass self.onProgressFinished(metadata) if self.host.quit_on_progress_end: - self.host.quit() + self.host.quitFromSignal() def progressErrorHandler(self, uid, message, profile): if profile != self.profile: