mirror of
https://github.com/lutris/lutris
synced 2024-09-18 15:22:27 +00:00
This was not the chain I was looking for
This commit is contained in:
parent
7986da2d80
commit
476407c880
|
@ -347,7 +347,7 @@ class LutrisWindow(Gtk.ApplicationWindow):
|
|||
if result:
|
||||
added_ids, updated_ids = result
|
||||
page_size = 999
|
||||
added_games = chain([
|
||||
added_games = chain.from_iterable([
|
||||
pga.get_games_where(id__in=list(added_ids)[p * page_size:p * page_size + page_size])
|
||||
for p in range(math.ceil(len(added_ids) / page_size))
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue