Exemple #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)
Exemple #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
     )
Exemple #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)
Exemple #4
0
 def sync_icons(self):
     resources.fetch_icons([game['slug'] for game in self.game_list],
                           callback=self.on_image_downloaded)
Exemple #5
0
 def sync_icons(self):
     resources.fetch_icons([game['slug'] for game in self.game_list],
                           callback=self.on_image_downloaded)
Exemple #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)