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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user