From cb39c88b2ac1d98c507af29a6e6705358890623f Mon Sep 17 00:00:00 2001 From: Kangbo Lu Date: Tue, 5 Mar 2019 19:43:00 -0800 Subject: [PATCH] fix checkpoint update issue for new category --- get_audience_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/get_audience_data.py b/get_audience_data.py index 7820db0..13bc732 100644 --- a/get_audience_data.py +++ b/get_audience_data.py @@ -67,9 +67,10 @@ def main(): check_point_code = str(i) + "," + str(j) + "," + str(end_position) last_request_location.write(check_point_code) last_request_location.close() + country_start = 0 while True: if main() == 1: break print("limit reached, sleep 200s...") - time.sleep(200) \ No newline at end of file + time.sleep(200)