From fd65e952b4443b9e516a9f4f8668aac9dc27cd48 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 30 Jul 2024 19:55:52 -0400 Subject: * fixed a bug where we would end up with an unwanted whitespace at the beginning of all args passed to the custom lua commands * added some notes to the readme --- plugins/ip.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/ip.lua b/plugins/ip.lua index 79ac6e2..38c9f4e 100644 --- a/plugins/ip.lua +++ b/plugins/ip.lua @@ -14,6 +14,8 @@ function milla_get_ip(arg) local url = "http://ip-api.com/json/" .. arg + print("Requesting: " .. url) + local response, err = http.request("GET", url) if err ~= nil then print(err) end -- cgit v1.2.3