Skip to content

Commit

Permalink
修复官方卡池数据变动导致只能抽常驻池的问题
Browse files Browse the repository at this point in the history
修复官方卡池数据变动导致只能抽常驻池的问题
  • Loading branch information
H-K-Y committed Nov 18, 2021
1 parent 6131b39 commit 8fa46ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gacha/pool_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ async def init_pool_list():
if not (begin_time < time.time() < end_time):
continue

if d['gacha_name'] == "角色":
if str(d['gacha_type']) == "301":
pool_name = '角色up池'
elif d['gacha_name'] == "武器":
elif str(d['gacha_type']) == "302":
pool_name = '武器up池'
else:
pool_name = '常驻池'
Expand Down

0 comments on commit 8fa46ec

Please sign in to comment.