diff --git a/src/Teekesselchen.lua b/src/Teekesselchen.lua index e2327a3..54adf1f 100644 --- a/src/Teekesselchen.lua +++ b/src/Teekesselchen.lua @@ -399,6 +399,9 @@ local function comperatorEnv(name, comp, mandatory) --@mno strip extension of filename to get base file name if name=="fileName" then value = string.sub(photo:getFormattedMetadata(name),1,-5) --@mno strip the last 4 chracters of the string + end + if name=="fileSize" then + value = photo:getRawMetadata(name) end -- nil is not a valid key, thus, we take a dummy value if not value then