Exporter: fix remote error (#9167)

This commit is contained in:
Utsob Roy
2022-06-05 02:10:07 +06:00
committed by GitHub
parent 18db85ea0d
commit aa4cc6da56

View File

@@ -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