Browse Source

Don't try to ignore None release

pull/3771/head
Ruud 11 years ago
parent
commit
9fb348f3a4
  1. 1
      couchpotato/core/plugins/release/main.py

1
couchpotato/core/plugins/release/main.py

@ -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')

Loading…
Cancel
Save