|
|
@ -13,7 +13,6 @@ thumbnailer.generate = function(path,thumb_path,height) |
|
|
|
assert(type(path) == "string", "argumenr #1 (path) is not a string") |
|
|
|
assert(type(thumb_path) == "string", "argument #2 (thumbnail path) is not a string") |
|
|
|
assert(type(height) == "number","argument #3 (height) is not a number") |
|
|
|
require("naughty").notify({text = tostring(path).." "..tostring(thumb_path.." ")..tostring(height)}) |
|
|
|
if execute("ls "..path) ~= 0 then |
|
|
|
return false, "unable to access image directory" |
|
|
|
end |
|
|
|