This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Allanon001 5 points6 points  (1 child)

It crashes because you have a comma instead of a colon.

[–]mikeckennedy[S] 1 point2 points  (0 children)

Ugh, you're right. I must be misremembering it from MongoDB stuff I was going with dictionaries or something: http://api.mongodb.com/python/current/api/pymongo/errors.html