Commit: 3711291404b18afd391af3de7fd5c2f818a564e0
Parent: fbf6128765573ba8596956e6000a74d25be976c9
Author: Ren Tatsumoto
Date: Sat, 19 Sep 2020 15:55:28 +0300
add get_ to signify that it's a getter and unify with other names
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -306,7 +306,7 @@ end
local function update_last_note()
local sub = subs.get()
- local last_note_id = ankiconnect.last_note_id()
+ local last_note_id = ankiconnect.get_last_note_id()
subs.clear()
menu.close()
@@ -496,7 +496,7 @@ ankiconnect.add_note = function(subtitle_string, audio_filename, snapshot_filena
end
end
-ankiconnect.last_note_id = function()
+ankiconnect.get_last_note_id = function()
local args = {
action = "findNotes",
version = 6,