1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-12-20 14:38:06 +00:00

Reconnect only if reconnect is enabled

This commit is contained in:
Ozzie Isaacs
2022-04-25 08:28:29 +02:00
parent ae9a970782
commit d83c731030
3 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ class TaskReconnectDatabase(CalibreTask):
urlopen('http://' + address + ':' + str(port) + '/reconnect')
self._handleSuccess()
except Exception as ex:
self._handleError(u'Unable to reconnect Calibre database: ' + str(ex))
self._handleError('Unable to reconnect Calibre database: ' + str(ex))
@property
def name(self):