Commit 1d9f25f2 authored by hujun's avatar hujun

int

parent 3699a38e
......@@ -84,7 +84,7 @@ class DownFile:
time_array = time.strptime(item['call_time'], '%Y-%m-%d %H:%M:%S')
local_dir = time.strftime('%Y%m%d', time_array)
if item['type'] == 1:
if int(item['type']) == 1:
try:
count_sleep = count_sleep + 1 # 增加暂停计数
url = self.ali_yun_sdk(item['call_time'], item['call_id'])
......
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