Update main.py
Browse files
main.py
CHANGED
|
@@ -331,7 +331,7 @@ async def zenless_characters(uid: int, character_id: str = None, character_art_u
|
|
| 331 |
char_ids = char_id if isinstance(char_id, list) else []
|
| 332 |
# The key in the dictionary must be a string
|
| 333 |
if char_ids:
|
| 334 |
-
char_art = {
|
| 335 |
|
| 336 |
result = await zenless_card(uid, char_id, char_art)
|
| 337 |
characters = process_imagess(result, uid)
|
|
|
|
| 331 |
char_ids = char_id if isinstance(char_id, list) else []
|
| 332 |
# The key in the dictionary must be a string
|
| 333 |
if char_ids:
|
| 334 |
+
char_art = {char_ids[0]: character_art_url}
|
| 335 |
|
| 336 |
result = await zenless_card(uid, char_id, char_art)
|
| 337 |
characters = process_imagess(result, uid)
|