From 3a8712b3570f67860da00c1ae30f41ba42f3322a Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 20 Dec 2021 11:36:15 +0800 Subject: [PATCH] 1 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ac2771a..8649afd 100644 --- a/main.py +++ b/main.py @@ -200,7 +200,7 @@ async def getgameprice(request: Request, oldGameId: int, nums: int = 0): gameprice['prices'] = price[:nums] else: logger.error(f"get price with {oldGameId} failed\n {gameprice}") - gameprice['prices'] = [] + gameprice = [] logger.info(f"get gameprice with {oldGameId} !") return JSONResponse(