oops I was thinking golang dont assign append it returns None

This commit is contained in:
forest 2021-02-15 20:20:42 -06:00
parent 1fd3ccb8a3
commit 05d5b15c4a

View File

@ -34,7 +34,7 @@ class MyHTTPClient:
for individualResult in fromOtherThread:
if individualResult.error != None and individualResult.error != "":
current_app.logger.error(fromOtherThread.error)
toReturn = toReturn.append(individualResult.http_result)
toReturn.append(individualResult.http_result)
return toReturn