|
@ -716,11 +716,11 @@ class TVShow(object): |
|
|
|
|
|
|
|
|
myEp = t[self.indexerid] |
|
|
myEp = t[self.indexerid] |
|
|
|
|
|
|
|
|
if getattr(myEp, 'seriesname', None) is not None: |
|
|
try: |
|
|
self.name = myEp["seriesname"].strip() |
|
|
if getattr(myEp, 'seriesname', None) is not None: |
|
|
else: |
|
|
self.name = myEp['seriesname'].strip() |
|
|
raise indexer_exceptions.indexer_attributenotfound\ |
|
|
except AttributeError: |
|
|
("Found %s, but attribute 'seriesname' was empty." % (self.indexerid)) |
|
|
raise indexer_exceptions.indexer_attributenotfound("Found %s, but attribute 'seriesname' was empty." % (self.indexerid)) |
|
|
|
|
|
|
|
|
self.classification = getattr(myEp, 'classification', 'Scripted') |
|
|
self.classification = getattr(myEp, 'classification', 'Scripted') |
|
|
self.genre = getattr(myEp, 'genre', '') |
|
|
self.genre = getattr(myEp, 'genre', '') |
|
|