|
@@ -17,7 +17,7 @@ class Main:
|
|
|
if 20 >= datetime.datetime.now().hour >= 10:
|
|
|
Recommend.start_wechat('recommend', env)
|
|
|
Common.del_logs('recommend')
|
|
|
- Common.logger('recommend').info('休眠{}小时', 24 - datetime.datetime.now().hour)
|
|
|
+ Common.logger('recommend').info('休眠{}小时\n', 24 - datetime.datetime.now().hour)
|
|
|
Recommend.download_cnt = []
|
|
|
time.sleep(3600 * (24 - datetime.datetime.now().hour))
|
|
|
else:
|