Commit c856c681 authored by 张彦钊's avatar 张彦钊

增加utf-8编码格式

parent e4092f53
# -*- coding: utf-8 -*-
import pickle import pickle
import xlearn as xl import xlearn as xl
import pandas as pd import pandas as pd
......
...@@ -12,8 +12,9 @@ def check(): ...@@ -12,8 +12,9 @@ def check():
if __name__ == "__main__": if __name__ == "__main__":
while True: #TODO 正式上线后,把下面的循环和time.sleep打开
# while True:
if check() == 1: if check() == 1:
os.popen('python diaryQueueUpdate.py') os.popen('python diaryQueueUpdate.py')
print("成功重启diaryQueueUpdate") print("成功重启diaryQueueUpdate")
time.sleep(300) # time.sleep(300)
\ No newline at end of file \ No newline at end of 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