From 9d35aa1f538313db612c9c139e759db5b93f235d Mon Sep 17 00:00:00 2001 From: wfaulk Date: Wed, 7 Aug 2024 10:54:26 -0400 Subject: [PATCH] keychain: handle spaces (#317) Co-authored-by: Chris Jones --- Source/Keychain.spoon/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Keychain.spoon/init.lua b/Source/Keychain.spoon/init.lua index afdf2759..0332ca6c 100644 --- a/Source/Keychain.spoon/init.lua +++ b/Source/Keychain.spoon/init.lua @@ -100,7 +100,7 @@ function obj:getItem(options) for key, value in pairs(keyTocmd) do if options[key] ~= nil then - cmd = cmd .. " " .. value .. " " .. options[key] + cmd = cmd .. " " .. value .. " '" .. options[key] .. "'" end end @@ -156,7 +156,7 @@ function obj:addItem(options) for key, value in pairs(keyTocmd) do if options[key] ~= nil then - cmd = cmd .. " " .. value .. " " .. options[key] + cmd = cmd .. " " .. value .. " '" .. options[key] .. "'" end end