From f467e4d75ace140ca47163ae9d20da1d71ed5615 Mon Sep 17 00:00:00 2001 From: Dean Gardiner Date: Wed, 16 Oct 2013 15:38:41 +1300 Subject: [PATCH] Fix to Provider getCatId when returning the cet_backup_id --- couchpotato/core/providers/base.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/providers/base.py b/couchpotato/core/providers/base.py index e79e16e7..7226cec7 100644 --- a/couchpotato/core/providers/base.py +++ b/couchpotato/core/providers/base.py @@ -256,7 +256,10 @@ class YarrProvider(Provider): if identifier in qualities: return ids - return [self.cat_backup_id] + if self.cat_backup_id: + return [self.cat_backup_id] + + return [] class ResultList(list):