Commit: 05c44b6b15d1bdc7582b8ddbf1c9a546179f1bac Parent: 3c2ef565ca61486710be75ab57f829ec8d43269e Author: Ren Tatsumoto Date: Mon, 21 Sep 2020 06:34:37 +0300 in case awk fails, return a unique name Diffstat:
| M | subs2srs.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subs2srs.lua b/subs2srs.lua @@ -244,7 +244,7 @@ local function anki_compatible_length(str) ret.stdout = remove_leading_trailing_spaces(ret.stdout) return ret.stdout else - return 'subs2srs' + return 'subs2srs_' .. os.time() end end