mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 05:36:00 +01:00
...
This commit is contained in:
parent
a05b241b30
commit
1f8d7c69be
2 changed files with 4 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ def check_dirtied(self):
|
|||
if not dirtied:
|
||||
return True
|
||||
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))
|
||||
|
||||
def open_book(self, path=None):
|
||||
|
|
|
|||
|
|
@ -263,6 +263,9 @@ def offload():
|
|||
res = {'result':None, 'tb':None}
|
||||
try:
|
||||
mod, func, args, kwargs = args
|
||||
if mod is None:
|
||||
eintr_retry_call(conn.send, res)
|
||||
continue
|
||||
f = func_cache.get((mod, func), None)
|
||||
if f is None:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue