Merge pull request #42 from supertobi/patch-3
Update kml_export.lua - use os.remove(image)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user