mirror of
https://github.com/lutris/lutris
synced 2024-11-02 10:01:24 +00:00
Fix regression found by @telanus (Close #750)
This commit is contained in:
parent
8558fff213
commit
07552d8641
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import re
|
||||||
import json
|
import json
|
||||||
import urllib.request
|
import urllib.request
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
|
@ -100,7 +101,7 @@ def get_games(game_slugs=None, page=1):
|
||||||
else:
|
else:
|
||||||
logger.error("No page found in %s", response_data['next'])
|
logger.error("No page found in %s", response_data['next'])
|
||||||
break
|
break
|
||||||
page_result = api.get_games(game_slugs=missing_media_slugs, page=page)
|
page_result = get_games(game_slugs=game_slugs, page=page)
|
||||||
if not page_result:
|
if not page_result:
|
||||||
logger.warning("Unable to get response for page %s", page)
|
logger.warning("Unable to get response for page %s", page)
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue