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打开
if check() == 1: # while True:
os.popen('python diaryQueueUpdate.py') if check() == 1:
print("成功重启diaryQueueUpdate") os.popen('python diaryQueueUpdate.py')
time.sleep(300) print("成功重启diaryQueueUpdate")
\ No newline at end of file # time.sleep(300)
\ 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