Commit 0c9009ae authored by hujun's avatar hujun

url

parent 8b23cbb4
...@@ -103,7 +103,7 @@ class DownFile: ...@@ -103,7 +103,7 @@ class DownFile:
local_dir = item['voice_file'][0: string_end] local_dir = item['voice_file'][0: string_end]
else: else:
string_end = url.find("?") string_end = url.find("?")
file_url = str[0:string_end] file_url = url[0:string_end]
time_array = time.strptime(item['call_time'], '%Y-%m-%d') time_array = time.strptime(item['call_time'], '%Y-%m-%d')
local_dir = time.strftime('%Y-%m-%d', time_array) local_dir = time.strftime('%Y-%m-%d', time_array)
......
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