Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MhankBarBar committed Oct 2, 2024
1 parent 5d013e0 commit 9819225
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions files/redeemed_genshin_codes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,9 @@ JVBR8Z8EB8Z9
RNIF6H9394K8
EFCIZM3399M1
KJBN2JM88SJ3
EPICGENSHIN2024
TARJ78VYG77C
WORF3IEG4WP9
XSME6NV4GX2Z
KALF66CLGXKM
PT5WP6D5GXJ9
5 changes: 5 additions & 0 deletions files/redeemed_starrail_codes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,8 @@ AA2G7664C2RX
FEIXIAOFILES
NOHOTFOODPLEASE
BKWHQ9B3G7T1M
5T3Y6764D3Q3
VNQCT6Y2L8N4K
LINGSHAQUIZ
MGLFK6N2C8Y4V
HSRRAZERLA25
2 changes: 2 additions & 0 deletions files/redeemed_zzz_codes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ ZENLESSLAUNCH
ZENLESSGIFT
BANDP43VWC7H
TOURDEINFERNO
ZZZ4PC
HSAHLWFEFE
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def _get_user_profile(self, game: genshin.Game, uid: int) -> Optional[str]:
async def get_genshin_res(self) -> GenshinRes | None:
logger.info("Executing get_genshin_res")
try:
user = await self.get_full_genshin_user(0)
abyss = user.abyss.current if user.abyss.current.floors else user.abyss.previous
user = await self.get_genshin_user(0)
abyss = await self.get_spiral_abyss(0, previous=True)
diary = await self.get_genshin_diary()
reward, reward_info = await self._claim_daily()
showcase = None
Expand Down
2 changes: 1 addition & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ <h2><img src="https://game-cdn.appsample.com/gim/images/memu-spiral-abyss.png" h
<td>Total Stars</td>
<td>{{ genshin.abyss.total_stars }}</td>
</tr>
{%- for field, characters in genshin.abyss.ranks.as_dict(lang=lang).items() -%}
{%- for field, characters in genshin.abyss.ranks.dict().items() -%}
<tr>
<td>{{ field }}</td>
<td>
Expand Down

0 comments on commit 9819225

Please sign in to comment.