mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 11:26:47 +00:00
epic fix a bug
This commit is contained in:
parent
11f5d93d24
commit
8cf9274d9b
2
epic.py
2
epic.py
@ -64,6 +64,8 @@ async def epic(context):
|
|||||||
upcoming_promotions = game["promotions"]["upcomingPromotionalOffers"]
|
upcoming_promotions = game["promotions"]["upcomingPromotionalOffers"]
|
||||||
if not game_promotions and upcoming_promotions:
|
if not game_promotions and upcoming_promotions:
|
||||||
continue # 促销即将上线,跳过
|
continue # 促销即将上线,跳过
|
||||||
|
elif game["price"]["totalPrice"]["discountPrice"] != 0:
|
||||||
|
continue # 非免费游戏,跳过
|
||||||
else:
|
else:
|
||||||
game_thumbnail, game_dev, game_pub = None, None, None
|
game_thumbnail, game_dev, game_pub = None, None, None
|
||||||
for image in game["keyImages"]:
|
for image in game["keyImages"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user