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(