use double quote in f-string

This commit is contained in:
Benji Dial 2024-09-10 06:28:24 -04:00
parent c4a67ae2f4
commit 890796c76d

View file

@ -34,7 +34,7 @@ def get_all_voters(s, channel, message, answer):
if len(users) < 100: if len(users) < 100:
return users return users
while True: while True:
new_users = discord.get(s, endpoint_base + f'&after={users[-1]['id']}')['users'] new_users = discord.get(s, endpoint_base + f'&after={users[-1]["id"]}')['users']
users += new_users users += new_users
if len(new_users) < 100: if len(new_users) < 100:
return users return users