def __getattr__(self, item): if item == "banner_url": return self.mirror + "/banners/" + self.BannerPath else: try: return self.data[item] except KeyError: raise error.TVDBAttributeError( "Banner has no {0} attribute".format(item))
def __getattr__(self, item): try: return self.data[item] except KeyError: raise error.TVDBAttributeError( "Show has no attribute named {0}".format(item))
def __getattr__(self, item): try: return self.data[item] except KeyError: raise error.TVDBAttributeError( u"Episode has no attribute {0}".format(item))
def __getattr__(self, item): try: return self.data[item] except KeyError: raise error.TVDBAttributeError( u"Banner has no {0} attribute".format(item))