mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing aggregation on latest pymongo for munin graphs.
This commit is contained in:
parent
55dd39d983
commit
e9d5b39d90
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ class NBMuninGraph(MuninGraph):
|
|||
},
|
||||
}])
|
||||
|
||||
return stats['result']
|
||||
return list(stats)
|
||||
|
||||
@property
|
||||
def total(self):
|
||||
|
@ -62,7 +62,7 @@ class NBMuninGraph(MuninGraph):
|
|||
},
|
||||
}])
|
||||
|
||||
return stats['result']
|
||||
return list(stats)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Reference in a new issue