From 7c3e05313d0c133fed548542c571d80b108bc583 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 25 May 2017 20:28:16 +0530 Subject: [PATCH] Fix failure to start content server causing the Start content server action to try to stop the server on the next invocation --- src/calibre/gui2/ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/ui.py b/src/calibre/gui2/ui.py index 8dbb716818..18b03099de 100644 --- a/src/calibre/gui2/ui.py +++ b/src/calibre/gui2/ui.py @@ -517,6 +517,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{ handle_changes(changes, self) def content_server_start_failed(self, msg): + self.content_server = None error_dialog(self, _('Failed to start Content server'), _('Could not start the Content server. Error:\n\n%s')%msg, show=True)