Changeset

413:41c67bf8c010

plugins.archive: Call callback even f there were no <fin> element
author Kim Alvefur <zash@zash.se>
date Sat, 31 Mar 2018 15:45:14 +0200
parents 412:ef66f302fe97
children 414:2a5eff919f4a
files plugins/archive.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/archive.lua	Sat Mar 31 15:43:28 2018 +0200
+++ b/plugins/archive.lua	Sat Mar 31 15:45:14 2018 +0200
@@ -67,9 +67,9 @@
 			if finnished then
 				local rset = rsm.get(finnished);
 				for k,v in pairs(rset or NULL) do results[k]=v; end
-				callback(results);
-				return true
 			end
+			callback(results);
+			return true
 		end);
 	end