Esempio n. 1
0
 def sync_icons(self):
     try:
         resources.fetch_icons([game['slug'] for game in self.game_list],
                               callback=self.on_image_downloaded)
     except TypeError as ex:
         logger.exception("Invalid game list:\n%s\nException: %s",
                          self.game_list, ex)
Esempio n. 2
0
 def sync_icons(self, stop_request=None):
     resources.fetch_icons(
         [game for game in pga.get_games()], callback=self.on_image_downloaded, stop_request=stop_request
     )
Esempio n. 3
0
 def sync_icons(self):
     game_list = pga.get_games()
     resources.fetch_icons([game_info['slug'] for game_info in game_list],
                           callback=self.on_image_downloaded)
Esempio n. 4
0
 def sync_icons(self):
     resources.fetch_icons([game['slug'] for game in self.game_list],
                           callback=self.on_image_downloaded)
Esempio n. 5
0
 def sync_icons(self):
     resources.fetch_icons([game['slug'] for game in self.game_list],
                           callback=self.on_image_downloaded)
Esempio n. 6
0
 def sync_icons(self):
     game_list = pga.get_games()
     resources.fetch_icons([game_info['slug'] for game_info in game_list],
                           callback=self.on_image_downloaded)