From 917f35d5d0b667e91ae6d243fa1a4fc2e81a7583 Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 21 Oct 2019 10:44:31 +0800 Subject: [PATCH] =?UTF-8?q?jcshow=20=E6=95=B0=E6=8D=AE=E6=8B=86=E8=A7=A3?= =?UTF-8?q?=E5=86=99=E5=85=A5=E6=95=B0=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jcshow_collect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jcshow_collect.py b/jcshow_collect.py index b70db6b..a9d501f 100644 --- a/jcshow_collect.py +++ b/jcshow_collect.py @@ -39,7 +39,7 @@ class JcShow: tga_data['amount'] = data['nums'] tga_data['gameid'] = self.gameid tga_data['account_id'] = data['account_id'] - tga_data['#time'] = self.time + tga_data['#time'] = datetime.datetime.strptime(self.time, "%Y-%m-%d") tga_data['channelid'] = self.channelid tga_data['show_time'] = data['show_time'] self.tga.put_event_data(tga_data, f'rep_{self.event_type}')