Don't try to ignore None release
This commit is contained in:
1 parent
e749d132cd
commit
9fb348f3a4
1 file changed
+3
-2
@@ -234,8 +234,9 @@ class Release(Plugin):
|
|||||||
db = get_db()
|
db = get_db()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
rel = db.get('id', id, with_doc = True)
|
if id:
|
||||||
self.updateStatus(id, 'available' if rel['status'] in ['ignored', 'failed'] else 'ignored')
|
rel = db.get('id', id, with_doc = True)
|
||||||
|
self.updateStatus(id, 'available' if rel['status'] in ['ignored', 'failed'] else 'ignored')
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'success': True
|
'success': True
|
||||||
|
|||||||
Reference in new issue
Block a user