Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgc2333 committed Sep 14, 2023
1 parent f24e8a1 commit d29e5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pre_deploy/gen_gacha_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ async def main():
region_name = region_name_map[region["name"]]
gachas = region["current_gacha"]
for gacha in gachas:
if gacha["start"] <= time.time() * 1000 < gacha["end"]:
if not (gacha["start"] <= time.time() < gacha["end"]):
continue

characters = gacha["characters"]
Expand Down

1 comment on commit d29e5f5

@vercel
Copy link

@vercel vercel bot commented on d29e5f5 Sep 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

bawiki-data – ./

bawiki-data-git-main-lgc-impart.vercel.app
bawiki-data-lgc-impart.vercel.app
bawiki.lgc2333.top

Please sign in to comment.