Merge pull request #42 from supertobi/patch-3

Update kml_export.lua - use os.remove(image)
This commit is contained in:
Boucman
2016-01-31 22:07:56 +01:00

View File

@@ -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)