Move status_get outside index

This commit is contained in:
Ruud
2014-03-21 14:49:44 +01:00
parent 27e4800ed2
commit 89c83001ca
7 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ class Release(Plugin):
db = get_db()
# get movies last_edit more than a week ago
medias = db.run('media', 'with_status', ['done'])
medias = fireEvent('media.with_status', 'done', single = True)
for media in medias:
if media.get('last_edit', 0) > (now - week):