Commit eb6d9e7d authored by hujun's avatar hujun

1

parent 48238e24
......@@ -103,7 +103,7 @@ class DownFile:
if int(item['type']) == 1:
try:
self.local.count_sleep = self.local.count_sleep + 1 # 增加暂停计数
# self.local.count_sleep = self.local.count_sleep + 1 # 增加暂停计数
self.local.url = self.ali_yun_sdk(item['call_time'], item['call_id'])
self.local.is_ok = 0
except Exception as result:
......@@ -116,7 +116,7 @@ class DownFile:
# 第二次尝试
if self.local.is_ok == 1:
try:
self.local.count_sleep = self.local.count_sleep + 1 # 增加暂停计数
# self.local.count_sleep = self.local.count_sleep + 1 # 增加暂停计数
self.local.url = self.ali_yun_sdk(item['call_time'], item['call_id'])
except Exception as result:
self.lock.acquire()
......
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