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