why was that there and how did it get through

This commit is contained in:
topkecleon
2016-08-14 09:23:13 -04:00
parent 0c1ac4a119
commit 738b45cdbd
2 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ function bindings:request(method, parameters, file)
sink = ltn12.sink.table(response)
}
local data = table.concat(response)
if not success or success == 1 then
if not success then
print(method .. ': Connection error. [' .. code .. ']')
return false, false
else