mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
4fa3eed8f6
commit
98b197e01b
@ -488,6 +488,11 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
msg = self.listener.queue.get_nowait()
|
||||
except Empty:
|
||||
return
|
||||
except:
|
||||
prints('Received invalid message from another instance')
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
return
|
||||
if msg.startswith('launched:'):
|
||||
argv = eval(msg[len('launched:'):])
|
||||
if len(argv) > 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user