Commit: 5f392e43055ee7c55c20a4955dec5a101dad7b8c
Parent: e3a9966fa981580a14746b60553dbf30cb38aa24
Author: Ren Tatsumoto
Date: Sun, 27 Sep 2020 08:40:05 +0300
an error usually happens only if parsing failed (or no args passed)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -451,7 +451,7 @@ ankiconnect.parse_result = function(curl_output)
-- but we need to crawl inside to get them.
if curl_output == nil then
- return nil, "Failed to format json"
+ return nil, "Failed to format json or no args passed"
end
if curl_output.status ~= 0 then