Fix crash: device_updated is boolean not table
This commit is contained in:
@@ -820,10 +820,6 @@ function Bookhoard:_doUpdateProgress(interactive)
|
||||
UIManager:nextTick(function()
|
||||
if ok then
|
||||
logger.dbg("Bookhoard: progress pushed successfully")
|
||||
if result and result.device_updated and result.device_updated.uuid then
|
||||
self.ui.doc_settings:saveSetting("bookhoard_uuid", result.device_updated.uuid)
|
||||
self.ui.doc_settings:flush()
|
||||
end
|
||||
if interactive then
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("Progress has been pushed."),
|
||||
|
||||
Reference in New Issue
Block a user