From 1f8d7c69be511e849269d6d7414ce117be064de9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 5 Nov 2013 21:04:44 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/boss.py | 2 +- src/calibre/utils/ipc/simple_worker.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 162d21d9f5..b1f2657614 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -61,7 +61,7 @@ class Boss(QObject): 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): diff --git a/src/calibre/utils/ipc/simple_worker.py b/src/calibre/utils/ipc/simple_worker.py index 6a269754b4..5e6bf2206f 100644 --- a/src/calibre/utils/ipc/simple_worker.py +++ b/src/calibre/utils/ipc/simple_worker.py @@ -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: