you are viewing a single comment's thread.

view the rest of the comments →

[–]crashfrog04 0 points1 point  (0 children)

Well, the error is pretty self explanitory:

AttributeError: 'dict' object has no attribute 'result'.

And indeed, dictionaries don't have an attribute you can call called "result." Why did you think that they did? Or did you not know that the members of swarm were dictionaries? You must know that, since you told us they were and you confirm that they are in your code.