Skip to content

Commit

Permalink
🎨 重命名变量
Browse files Browse the repository at this point in the history
  • Loading branch information
shoucandanghehe committed Oct 24, 2024
1 parent b333c54 commit 5da8942
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nonebot_plugin_tetris_stats/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ async def create_or_update_bind(
game_account=game_account,
)
session.add(bind)
message = BindStatus.SUCCESS
status = BindStatus.SUCCESS
else:
bind.game_account = game_account
message = BindStatus.UPDATE
status = BindStatus.UPDATE
await session.commit()
return message
return status


T = TypeVar('T', 'TETRIOHistoricalData', 'TOPHistoricalData', 'TOSHistoricalData')
Expand Down

0 comments on commit 5da8942

Please sign in to comment.