fix bug in appendExtension.

This commit is contained in:
Tom van Dijck 2015-03-27 10:51:24 -07:00
parent 991561c600
commit 8467be1612

View File

@ -24,7 +24,7 @@
end
-- add the extension if it isn't there already
if not p:endswith(ext) then
if not path.hasextension(p, ext) then
p = p .. ext
end