From 8cf9274d9b1ca3ad20106a18fbb1922ae9c79f8a Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 26 Nov 2021 13:15:14 +0800 Subject: [PATCH] epic fix a bug --- epic.py | 2 ++ list.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/epic.py b/epic.py index f1f198e..55d28da 100644 --- a/epic.py +++ b/epic.py @@ -64,6 +64,8 @@ async def epic(context): upcoming_promotions = game["promotions"]["upcomingPromotionalOffers"] if not game_promotions and upcoming_promotions: continue # 促销即将上线,跳过 + elif game["price"]["totalPrice"]["discountPrice"] != 0: + continue # 非免费游戏,跳过 else: game_thumbnail, game_dev, game_pub = None, None, None for image in game["keyImages"]: diff --git a/list.json b/list.json index 301527f..bd0958d 100644 --- a/list.json +++ b/list.json @@ -782,7 +782,7 @@ }, { "name": "epic", - "version": "1.00", + "version": "1.01", "section": "chat", "maintainer": "xtaodada", "size": "5.80 kb",