Quote changes, missing f
This commit is contained in:
parent
e62458ee5e
commit
22f9a027ec
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -36,7 +36,7 @@ print("All pages loaded, generating user mappings now.")
|
|||
del pages
|
||||
user_mappings = {}
|
||||
for user in users_list:
|
||||
user_mappings[f"<@{user['id']}>"] = f'<@{user["profile"]["display_name"]}>' if user["profile"]["display_name"] else "<@{user['id']}>"
|
||||
user_mappings[f"<@{user['id']}>"] = f"<@{user['profile']['display_name']}>" if user["profile"]["display_name"] else f"<@{user['id']}>"
|
||||
|
||||
print("User mappings loaded. User count:", len(user_mappings))
|
||||
|
||||
|
|
Loading…
Reference in a new issue