From 7390bb7f54ba5d80e3987dfc17f61c6a9728bdd7 Mon Sep 17 00:00:00 2001 From: "M.Mahdi Bakhshi" <33148504+thantez@users.noreply.github.com> Date: Mon, 10 Aug 2020 18:31:58 +0430 Subject: Update make_preview_image.lua --- make_preview_image.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make_preview_image.lua b/make_preview_image.lua index 8f6c55c..31f088d 100755 --- a/make_preview_image.lua +++ b/make_preview_image.lua @@ -1,8 +1,9 @@ #!/usr/bin/lua -local filename = "..." +local filename = ... local name = filename:match("([^\\/]+)%..*$") .. "_preview" + -- get colors local text = io.open(filename):read("*a") local colors = {} -- cgit v1.2.3