mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
a05b241b30
commit
1f8d7c69be
@ -61,7 +61,7 @@ class Boss(QObject):
|
|||||||
if not dirtied:
|
if not dirtied:
|
||||||
return True
|
return True
|
||||||
return question_dialog(self.gui, _('Unsaved changes'), _(
|
return question_dialog(self.gui, _('Unsaved changes'), _(
|
||||||
'You have unsaved changes in the files %s. If you proceeed,'
|
'You have unsaved changes in the files %s. If you proceed,'
|
||||||
' you will lose them. Proceed anyway?') % ', '.join(dirtied))
|
' you will lose them. Proceed anyway?') % ', '.join(dirtied))
|
||||||
|
|
||||||
def open_book(self, path=None):
|
def open_book(self, path=None):
|
||||||
|
@ -263,6 +263,9 @@ def offload():
|
|||||||
res = {'result':None, 'tb':None}
|
res = {'result':None, 'tb':None}
|
||||||
try:
|
try:
|
||||||
mod, func, args, kwargs = args
|
mod, func, args, kwargs = args
|
||||||
|
if mod is None:
|
||||||
|
eintr_retry_call(conn.send, res)
|
||||||
|
continue
|
||||||
f = func_cache.get((mod, func), None)
|
f = func_cache.get((mod, func), None)
|
||||||
if f is None:
|
if f is None:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user