diff --git a/gather_new_user.py b/gather_new_user.py index c20f5d7..3c0fdcf 100644 --- a/gather_new_user.py +++ b/gather_new_user.py @@ -110,7 +110,7 @@ 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) if not last_time: - raise Except("last_time get failed") + raise Exception("last_time get failed") while comp_datetime(now, last_time): gather_data(last_time, gameid, channelid, ad_channel) last_time = (datetime.datetime.strptime(last_time, "%Y-%m-%d %H:%M:%S") + datetime.timedelta(minutes=TimeDelay)).strftime("%Y-%m-%d %H:%M:%S")