Skip to content

Commit

Permalink
Fix exception when release groups aren't available for anime shows (#…
Browse files Browse the repository at this point in the history
…7333)

* Fix exception when release groups aren't available for anime shows

* Update CHANGELOG.md
  • Loading branch information
medariox authored and p0psicles committed Nov 10, 2019
1 parent 816fa2a commit a47af33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Fixed exception when there is no anime XML ([#7256](https://github.com/pymedusa/Medusa/pull/7256))
- Fixed BTDB manual search & updated Xthor domain ([#7303](https://github.com/pymedusa/Medusa/pull/7303))
- Fixed duplicate manual search results for providers without unqiue URLs ([#7305](https://github.com/pymedusa/Medusa/pull/7305))
- Fixed exception when release groups aren't available for anime shows ([#7333](https://github.com/pymedusa/Medusa/pull/7333))

-----

Expand Down
2 changes: 1 addition & 1 deletion medusa/search/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def filter_results(results):
series_obj = cur_result.series

# build the black and white list
if series_obj.is_anime:
if series_obj.is_anime and series_obj.release_groups:
if not series_obj.release_groups.is_valid(cur_result):
continue

Expand Down

0 comments on commit a47af33

Please sign in to comment.