Akane710 commited on
Commit
6cd4f5b
·
verified ·
1 Parent(s): dd53bc5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -58,13 +58,13 @@ async def starrail_card(id, designtype, character_id=None, character_art_url=Non
58
  return await card.create(id, style=(2 if str(designtype) == "2" else 1))
59
  else:
60
  # Fallback to the existing process
61
- async with starrailcard.Card(seeleland=True, remove_logo=True, character_art=character_art, enka=True) as card:
62
  return await card.create(id, style=(2 if str(designtype) == "2" else 1))
63
 
64
 
65
  # Star Rail profile creation
66
  async def starrail_profile(id):
67
- async with starrailcard.Card(remove_logo=True, seeleland=True,enka=True) as card:
68
  return await card.create_profile(id, style=2)
69
 
70
  # Genshin profile creation
 
58
  return await card.create(id, style=(2 if str(designtype) == "2" else 1))
59
  else:
60
  # Fallback to the existing process
61
+ async with starrailcard.Card(seeleland=True, remove_logo=True, character_art=character_art) as card:
62
  return await card.create(id, style=(2 if str(designtype) == "2" else 1))
63
 
64
 
65
  # Star Rail profile creation
66
  async def starrail_profile(id):
67
+ async with starrailcard.Card(remove_logo=True, seeleland=True) as card:
68
  return await card.create_profile(id, style=2)
69
 
70
  # Genshin profile creation