Don't try to ignore None release

This commit is contained in:
Ruud committed 2014-08-01 13:21:15 +02:00
1 parent e749d132cd
commit 9fb348f3a4
1 file changed
+1
+1
View File
@@ -234,6 +234,7 @@ class Release(Plugin):
db = get_db() db = get_db()
try: try:
if id:
rel = db.get('id', id, with_doc = True) rel = db.get('id', id, with_doc = True)
self.updateStatus(id, 'available' if rel['status'] in ['ignored', 'failed'] else 'ignored') self.updateStatus(id, 'available' if rel['status'] in ['ignored', 'failed'] else 'ignored')