aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/subscene.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/subscene.lua b/server/subscene.lua
index 6f52d53..304ffde 100644
--- a/server/subscene.lua
+++ b/server/subscene.lua
@@ -93,7 +93,7 @@ local title_search = function (key)
local url, args, fetch, hcode, tries, title
url = domain .. '/subtitles/searchbytitle'
- args = "--data-raw query='" .. key .. "' "
+ args = { '--data-raw', 'query=' .. key }
tries = 0
repeat