Merge pull request #150 from dshulyak/fix_db_convert
Remove db_convert in all_events function
This commit is contained in:
commit
52ae1aa729
@ -84,7 +84,8 @@ def add_events(resource, lst):
|
||||
|
||||
def all_events(resource):
|
||||
events = db.get(resource, collection=db.COLLECTIONS.events,
|
||||
return_empty=True, db_convert=False)
|
||||
return_empty=True)
|
||||
|
||||
if not events:
|
||||
return []
|
||||
return [create_event(i) for i in events.properties]
|
||||
|
Loading…
Reference in New Issue
Block a user