use double quote in f-string
This commit is contained in:
parent
c4a67ae2f4
commit
890796c76d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue