Skip to content

Commit

Permalink
fix MongoEngine#153 and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Aug 24, 2015
1 parent 3bb7b96 commit 5367dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flask_mongoengine/operation_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _remove(collection_self, spec_or_id, safe=None, **kwargs):
def _cursor_refresh(cursor_self):
# Look up __ private instance variables
def privar(name):
return getattr(cursor_self, '_Cursor__{0}'.format(name))
return getattr(cursor_self, '_Cursor__{0}'.format(name), None)

if privar('id') is not None:
# getMore not query - move on
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name='quokka-flask-mongoengine',
version='0.7.3',
version='0.7.4',
url='https://github.com/mongoengine/flask-mongoengine',
license='BSD',
author='Ross Lawley',
Expand Down

0 comments on commit 5367dc9

Please sign in to comment.