Commit 48238e24 authored by hujun's avatar hujun

1

parent efdc578e
......@@ -81,14 +81,14 @@ class DownFile:
:return:
"""
self.local.url = self.local.local_file = ""
self.local.count_sleep = 0
# self.local.count_sleep = 0
for item in data:
if self.local.count_sleep >= 500:
# if self.local.count_sleep >= 500:
# self.lock.acquire()
# self.log('sleep', '-----10s-----')
# self.lock.release()
time.sleep(10)
self.local.count_sleep = 0
# time.sleep(10)
# self.local.count_sleep = 0
if len(item['voice_file']) > 0:
self.local.local_file = self.save_path + item['voice_file']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment