This commit is contained in:
Ruud
2014-02-10 23:22:11 +01:00
parent a13e0a75e8
commit 4b356aba3e
2 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class Dashboard(Plugin):
limit = tryInt(splt[0])
# Get all active medias
active_ids = [x['_id'] for x in db.get_many('media_status', 'active')]
active_ids = [x['_id'] for x in db.run('media', 'with_status', 'active', with_doc = False)]
medias = []
if len(active_ids) > 0: