From 9b6d5876be1844511713029c92704a0ff85ddaa8 Mon Sep 17 00:00:00 2001 From: lc4t Date: Sun, 1 Mar 2020 21:41:05 +0800 Subject: [PATCH] fix --- danmu/bili_danmu_giftthx.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/danmu/bili_danmu_giftthx.py b/danmu/bili_danmu_giftthx.py index 8f45c9a..644fa62 100644 --- a/danmu/bili_danmu_giftthx.py +++ b/danmu/bili_danmu_giftthx.py @@ -215,7 +215,8 @@ async def run_sender(self): self.user.random_list_2), random3=random.choice(self.user.random_list_3))) await self.game_log(coin_type, total_coin) - wait_to_send_danmu[username][gift_name].update({'gift_num': 0}) + wait_to_send_danmu[username][gift_name].update( + {'gift_num': 0, 'total_coin': 0}) await asyncio.sleep(1)