Akane710 commited on
Commit
1d83294
·
verified ·
1 Parent(s): d56f57f

Update main.py

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