Skip to content

Commit

Permalink
fix get() in mongods
Browse files Browse the repository at this point in the history
  • Loading branch information
muromec committed Mar 10, 2013
1 parent da2fc57 commit c5ce922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hopak/ds/mongo.py
Expand Up @@ -18,7 +18,7 @@ def save(self, kind, data, _id=None):
else:
return col.insert(data)

def get(self, id):
def get(self, _id):
return self.conn.db.find({"_id": _id})

def remove(self, kind, fltr):
Expand Down

0 comments on commit c5ce922

Please sign in to comment.