summaryrefslogtreecommitdiff
path: root/translate-widget
diff options
context:
space:
mode:
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