From 68913e7136c67132b03de5f1dda0b32e5fdd442f Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 3 Sep 2019 12:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E6=97=B6=E6=96=B0=E5=A2=9E=E4=BA=BA?= =?UTF-8?q?=E6=95=B0=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gather_new_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gather_new_user.py b/gather_new_user.py index b055284..9800563 100644 --- a/gather_new_user.py +++ b/gather_new_user.py @@ -93,7 +93,7 @@ def gather_data(last_time, gameid, channelid, ad_channel): def run(gameid, channelid, ad_channel): now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") - last_time = get_last_time(gameid, channelid, ad_channel) + last_time = get_last_time(gameid, channelid, ad_channel).strftime("%Y-%m-%d %H:%M:%S") while comp_datetime(now, last_time): print(f"lasttime={last_time}") gather_data(last_time, gameid, channelid, ad_channel)