Commit 9a0093ff authored by lixiaofang's avatar lixiaofang

add

parent d9a10f3b
......@@ -2,7 +2,6 @@
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/auto_commnet.py" charset="GBK" />
<file url="file://$PROJECT_DIR$/comment_data" charset="GBK" />
<file url="file://$PROJECT_DIR$/comment_data.csv" charset="GBK" />
<file url="file://$PROJECT_DIR$/comment.txt" charset="UTF-8" />
</component>
</project>
\ No newline at end of file
......@@ -30,7 +30,6 @@ DATABASES = {
}
}
host = DATABASES['default']['HOST']
user = DATABASES['default']['USER']
......@@ -226,7 +225,8 @@ def Urge(cookies_get, id):
def get_offline_comment():
try:
data = open("/srv/apps/cybertron/comment.xlsx", "r")
data = open("/srv/apps/cybertron/comment.txt", "r")
list_guanshui = []
for i in data:
list_guanshui.append(i)
......
This diff is collapsed.
File added
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