Exporter: fix remote error (#9167)

reviewable/pr9170/r2
Utsob Roy 2 years ago committed by GitHub
parent 18db85ea0d
commit aa4cc6da56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save