From abbb7407533ff7e2f57aaeaef40fad7c08ace517 Mon Sep 17 00:00:00 2001 From: supertobi Date: Fri, 11 Mar 2016 23:57:13 +0100 Subject: [PATCH] Update kml_export.lua small changes (comments and spacing) --- contrib/kml_export.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/kml_export.lua b/contrib/kml_export.lua index ddef66b..0be2627 100644 --- a/contrib/kml_export.lua +++ b/contrib/kml_export.lua @@ -1,6 +1,6 @@ --[[ This file is part of darktable, - Copyright 2014 by Tobias Jakobs. + Copyright 2016 by Tobias Jakobs. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -43,6 +43,7 @@ local function _(msgid) return gettext.dgettext("kml_export", msgid) end +-- Sort a table local function spairs(_table, order) -- Code copied from http://stackoverflow.com/questions/15706270/sort-a-table-in-lua -- collect the keys local keys = {} @@ -139,7 +140,7 @@ local function create_kml_file(storage, image_table, extra_data) end -- delete the original image to not get into the kmz file - os.remove(image) + os.remove(image) local pattern = "[/]?([^/]+)$" filmName = string.match(_.film.path, pattern)