Commit 729b54c6 authored by litaolemo's avatar litaolemo

update

parent 7de8312a
...@@ -54,10 +54,10 @@ def send_email_tome(): ...@@ -54,10 +54,10 @@ def send_email_tome():
zipFile = str(date)+".xls" zipFile = str(date)+".xls"
f = zipfile.ZipFile(zipFile, 'w', zipfile.ZIP_DEFLATED) f = zipfile.ZipFile(zipFile, 'w', zipfile.ZIP_DEFLATED)
f.write(date,zipFile) f.write(str(date),zipFile)
f.close() f.close()
#zipFile = '昨日数据统计结果.xls' #zipFile = '昨日数据统计结果.xls'
send_file_email(date+".zip",email_group=["litao@igengmei.com"],title_str=content send_file_email(str(date)+".zip",email_group=["litao@igengmei.com"],title_str=content
,data_str=content) ,data_str=content)
except Exception as e: except Exception as e:
print(e) print(e)
......
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