forked from 3wordchant/capsul-flask
oops I was thinking golang dont assign append it returns None
This commit is contained in:
parent
1fd3ccb8a3
commit
05d5b15c4a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user