From c323ce6cbba93517db6c5438903842fdcf81caf9 Mon Sep 17 00:00:00 2001 From: supertobi Date: Sun, 31 Jan 2016 00:57:43 +0100 Subject: [PATCH] Update kml_export.lua use os.remove(image) --- contrib/kml_export.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/kml_export.lua b/contrib/kml_export.lua index baca991..ddef66b 100644 --- a/contrib/kml_export.lua +++ b/contrib/kml_export.lua @@ -139,8 +139,7 @@ local function create_kml_file(storage, image_table, extra_data) end -- delete the original image to not get into the kmz file - local rmCommand = "rm "..image - coroutine.yield("RUN_COMMAND", rmCommand) + os.remove(image) local pattern = "[/]?([^/]+)$" filmName = string.match(_.film.path, pattern)