From 98a688a770d792d4a93be978136ef06bbf1bbdd3 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 25 Jun 2017 11:53:25 +0800 Subject: [PATCH] getPersistentRenameLog() --- source/net/filebot/cli/ScriptShellBaseClass.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/net/filebot/cli/ScriptShellBaseClass.java b/source/net/filebot/cli/ScriptShellBaseClass.java index 1505c78e..6af464df 100644 --- a/source/net/filebot/cli/ScriptShellBaseClass.java +++ b/source/net/filebot/cli/ScriptShellBaseClass.java @@ -186,7 +186,11 @@ public abstract class ScriptShellBaseClass extends Script { // Complete or session rename history public Map getRenameLog() throws IOException { - return getRenameLog(false); + return HistorySpooler.getInstance().getSessionHistory().getRenameMap(); + } + + public Map getPersistentRenameLog() throws IOException { + return HistorySpooler.getInstance().getCompleteHistory().getRenameMap(); } public Map getRenameLog(boolean complete) throws IOException {