mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Exporter: fix remote error (#9167)
This commit is contained in:
@@ -183,7 +183,11 @@ function Exporter:exportClippings(clippings)
|
||||
v.timestamp = timestamp
|
||||
local status = v:export(exportables)
|
||||
if status then
|
||||
table.insert(statuses, _(v.name .. ": Exported to " ) .. v:getFilePath(exportables))
|
||||
if v.is_remote then
|
||||
table.insert(statuses, _(v.name .. ": Exported successfully."))
|
||||
else
|
||||
table.insert(statuses, _(v.name .. ": Exported to " ) .. v:getFilePath(exportables))
|
||||
end
|
||||
else
|
||||
table.insert(statuses, _(v.name .. ": Failed to export."))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user