Commit 9a0093ff authored by lixiaofang's avatar lixiaofang

add

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