Commit b0368e70 authored by Kai's avatar Kai

Merge branch 'test' of git.wanmeizhensuo.com:alpha/physical into test

parents d7eb9704 6cff25b7
This diff is collapsed.
......@@ -19,7 +19,7 @@ def index_first():
@shared_task(name="majia.tasks.get_cook")
def get_cook():
data = open("srv/apps/physical/majia/majia_email.txt", "r")
data = open("/srv/apps/physical/majia/majia_email.txt", "r")
list = []
dicts = {}
......@@ -45,7 +45,7 @@ def get_cook():
logging.info("response.text :%s" % response.text)
dicts[i] = cook
with open("srv/apps/physical/majia/user_session.txt", 'w') as f:
with open("/srv/apps/physical/majia/user_session.txt", 'w') as f:
for key, value in dicts.items():
f.write(key)
f.write(",")
......
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