Skip to content

Commit

Permalink
Made sure only anime marked shows are using this provider
Browse files Browse the repository at this point in the history
* Removed confirmed attribute
  • Loading branch information
p0psicles committed Apr 22, 2016
1 parent f751f8d commit 005a80b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions sickbeard/providers/anizb.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ def __init__(self):
# Provider Init
NZBProvider.__init__(self, "Anizb")

# Credentials
self.public = True
self.confirmed = True
self.supports_absolute_numbering = True
self.anime_only = True

self.url = 'https://anizb.org/'
self.urls = {
Expand All @@ -55,6 +55,10 @@ def search(self, search_strings, age=0, ep_obj=None): # pylint: disable=too-man
_ = age
_ = ep_obj
results = []

if self.show and not self.show.is_anime:
return results

for mode in search_strings:
logger.log(u"Search Mode: {}".format(mode), logger.DEBUG)
for search_string in search_strings[mode]:
Expand Down

0 comments on commit 005a80b

Please sign in to comment.