From 018f2fd1f34d232497a0964b29a48497eb8b47af Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 20 Jan 2021 08:50:19 +0100 Subject: Fix signal when removing device --- lib/isodumper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/isodumper.py b/lib/isodumper.py index eba86c2..d8387b4 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -531,7 +531,6 @@ class IsoDumper(object): self.dialog = None if yui.YUI.app().isTextMode(): self.glib_loop.quit() - if yui.YUI.app().isTextMode(): self.glib_thread.join() def write_logfile(self): @@ -729,7 +728,7 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog self.glib_thread.start() self.u.iface["org.freedesktop.DBus.ObjectManager"].InterfacesAdded.connect(self.device_changed) - + self.u.iface["org.freedesktop.DBus.ObjectManager"].InterfacesRemoved.connect(self.device_changed) def glib_mainloop(self, loop): ''' -- cgit v1.2.1