Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SiCKRAGE
sickrage
Commits
45ef300f
Commit
45ef300f
authored
Oct 02, 2021
by
echel0n
Browse files
skip search cache results if series provider id is none
parent
2f2a7080
Changes
1
Hide whitespace changes
Inline
Side-by-side
sickrage/core/caches/tv_cache.py
View file @
45ef300f
...
...
@@ -286,6 +286,10 @@ class TVCache(object):
result
.
series_id
=
int
(
curResult
[
"series_id"
])
result
.
series_provider_id
=
curResult
[
"series_provider_id"
]
# skip if series provider id is not set
if
not
curResult
[
"series_provider_id"
]:
continue
# convert to series provider id enum
if
not
isinstance
(
result
.
series_provider_id
,
SeriesProviderID
):
result
.
series_provider_id
=
SeriesProviderID
[
curResult
[
"series_provider_id"
]]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment