Commit 7cd5c8a4 authored by lixiaofang's avatar lixiaofang

add

parent 718f23a5
...@@ -12,7 +12,7 @@ auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge" ...@@ -12,7 +12,7 @@ auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge"
def get_majia(): def get_majia():
try: try:
data = open("/srv/apps/cybertron/majia_email") data = open("/srv/apps/cybertron/majia_email.txt")
list = [] list = []
for i in data: for i in data:
list.append(i.strip('\n').strip(',')) list.append(i.strip('\n').strip(','))
......
...@@ -18,7 +18,7 @@ def index_first(): ...@@ -18,7 +18,7 @@ def index_first():
@shared_task(name="majia.tasks.get_cook") @shared_task(name="majia.tasks.get_cook")
def get_cook(): def get_cook():
data = open("./majia_email","r") data = open("physical/tasks/majia_email.txt","r")
list = [] list = []
dicts = {} dicts = {}
......
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