Akane710 commited on
Commit
755ba90
·
verified ·
1 Parent(s): e1317b6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 = {str(char_ids[0]): character_art_url}
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)