mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 04:13:15 +02:00
...
This commit is contained in:
parent
4fa3eed8f6
commit
98b197e01b
1 changed files with 5 additions and 0 deletions
|
|
@ -488,6 +488,11 @@ def another_instance_wants_to_talk(self):
|
|||
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…
Reference in a new issue