Removed the debug notification
This commit is contained in:
parent
e6d93ccdc1
commit
30ea2200a2
|
@ -13,7 +13,6 @@ thumbnailer.generate = function(path,thumb_path,height)
|
||||||
assert(type(path) == "string", "argumenr #1 (path) is not a string")
|
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(thumb_path) == "string", "argument #2 (thumbnail path) is not a string")
|
||||||
assert(type(height) == "number","argument #3 (height) is not a number")
|
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
|
if execute("ls "..path) ~= 0 then
|
||||||
return false, "unable to access image directory"
|
return false, "unable to access image directory"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue