1
0
Fork 0
mirror of synced 2024-04-26 00:32:16 +12:00

Guess I forgot how the paginator worked lol

This commit is contained in:
Dan Hess 2021-03-31 23:50:13 -08:00
parent 968713dd18
commit bd2470f986

View file

@ -98,9 +98,7 @@ query ($name: String) {
reverse=True,
)
# And convert to a string
output = "\n".join(
f"**Score**: {x['score']} | **Title**: {x['title']}" for x in data
)
output = [f"**Score**: {x['score']} | **Title**: {x['title']}" for x in data]
try:
pages = Pages(ctx, entries=output, per_page=7)