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