From aa4cc6da56d7b5b7f51944a317ada0b2978549a1 Mon Sep 17 00:00:00 2001 From: Utsob Roy Date: Sun, 5 Jun 2022 02:10:07 +0600 Subject: [PATCH] Exporter: fix remote error (#9167) --- plugins/exporter.koplugin/main.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/exporter.koplugin/main.lua b/plugins/exporter.koplugin/main.lua index 93a5ea654..4a0bca05f 100644 --- a/plugins/exporter.koplugin/main.lua +++ b/plugins/exporter.koplugin/main.lua @@ -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