summaryrefslogtreecommitdiff
path: root/translate-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2020-12-02 09:18:16 -0500
committerstreetturtle <streetturtle@gmail.com>2020-12-02 09:18:16 -0500
commit8be78d4fddfc2c88352b25f5d8d89c6dc14df37c (patch)
tree68f14b1e9d1e6265bc95e1fa39f06e439bc79572 /translate-widget
parentbc7008458e90edbf4a48a3356433c8b96b850335 (diff)
fix few issues
Diffstat (limited to 'translate-widget')
-rw-r--r--translate-widget/translate.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/translate-widget/translate.lua b/translate-widget/translate.lua
index 9352ac9..811e136 100644
--- a/translate-widget/translate.lua
+++ b/translate-widget/translate.lua
@@ -159,9 +159,9 @@ input_widget:setup{
widget = wibox.container.margin
}
-local function launch(args)
+local function launch(user_args)
- local args = args or {}
+ local args = user_args or {}
local api_key = args.api_key
local url = args.url