Commit 6a1d7980 authored by lixiaofang's avatar lixiaofang

add

parent dfe6a960
......@@ -24,11 +24,9 @@ auto_follow_url = "http://earth.igengmei.com/api/v1/follow"
auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge"
def get_majia():
try:
data = open("/srv/apps/physical/majia/majia_email.txt")
data = open("/srv/apps/physical/injection/data_sync/majia_email.txt")
list = []
for i in data:
list.append(i.strip('\n').strip(','))
......@@ -43,7 +41,7 @@ def get_majia():
def get_cookies(user_id):
try:
with open("/srv/apps/physical/majia/user_session.txt", 'r') as f:
with open("/srv/apps/cybertron/user_session.txt", 'r') as f:
try:
data = f.readlines()
except:
......@@ -125,7 +123,7 @@ def time_conv(minutest):
def get_comments():
try:
data = open("/srv/apps/physical/majia/guanshui.txt", "r")
data = open("/srv/apps/physical/injection/data_sync/guanshui.txt", "r")
list_guanshui = []
for i in data:
list_guanshui.append(i)
......
This diff is collapsed.
......@@ -26,7 +26,7 @@ auto_urge_url = "http://earth.igengmei.com/api/v1/user/urge"
def get_majia():
try:
data = open("/srv/apps/physical/majia/majia_email.txt")
data = open("/srv/apps/cybertron/majia_email.txt")
list = []
for i in data:
list.append(i.strip('\n').strip(','))
......@@ -41,7 +41,7 @@ def get_majia():
def get_cookies(user_id):
try:
with open("/srv/apps/physical/majia/user_session.txt", 'r') as f:
with open("/srv/apps/cybertron/user_session.txt", 'r') as f:
try:
data = f.readlines()
except:
......@@ -123,7 +123,7 @@ def time_conv(minutest):
def get_comments():
try:
data = open("/srv/apps/physical/majia/guanshui.txt", "r")
data = open("/srv/apps/cybertron/guanshui.txt", "r")
list_guanshui = []
for i in data:
list_guanshui.append(i)
......
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