def set_logo_from_steam(self): """Fetch the banner from Steam and use it for the game""" if self.title_logo or not self.steamid: return self.title_logo = ContentFile( steam.get_capsule(self.steamid), "%s.jpg" % self.steamid )
def download_steam_capsule(self): if self.title_logo or not self.steamid: return else: self.title_logo = ContentFile(steam.get_capsule(self.steamid), "%d.jpg" % self.steamid)
def set_logo_from_steam(self): if self.title_logo or not self.steamid: return self.title_logo = ContentFile( steam.get_capsule(self.steamid), "%s.jpg" % self.steamid )