Commit 1aec2b98 authored by lixiaofang's avatar lixiaofang

add

parent 51a1edec
......@@ -40,14 +40,14 @@
<entry key="comment" value="59" />
<entry key="dummy" value="6" />
<entry key="guanshui" value="2" />
<entry key="py" value="4216" />
<entry key="py" value="4259" />
<entry key="xuqiu" value="223" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="PLAIN_TEXT" value="290" />
<entry key="Python" value="4216" />
<entry key="Python" value="4259" />
</counts>
</usages-collector>
</session>
......@@ -177,8 +177,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/auto_commnet.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-32">
<caret line="22" column="56" selection-start-line="22" selection-start-column="56" selection-end-line="22" selection-end-column="56" />
<state relative-caret-position="971">
<caret line="65" selection-start-line="65" selection-end-line="65" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......@@ -957,8 +957,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/auto_commnet.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-32">
<caret line="22" column="56" selection-start-line="22" selection-start-column="56" selection-end-line="22" selection-end-column="56" />
<state relative-caret-position="971">
<caret line="65" selection-start-line="65" selection-end-line="65" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......
......@@ -5,6 +5,8 @@ import pymysql
import random
import traceback
import logging
from log_settings import *
from auto_request import login, time_convs, reply, get_comment, get_user_id
from auto_request import host, user, port, db, passwd
......@@ -25,8 +27,8 @@ def get_topic_id(numtime):
topic_id_list = []
if topic_id:
for i in topic_id:
if int(i[1]) in user_list:
print("----:%s---"%i[1])
if int(i[1]) in user_list:
print("----:%s---" % i[1])
topic_id_list.append(i)
logging.info("Database version : %s " % topic_id_list)
......@@ -62,7 +64,7 @@ if __name__ == "__main__":
else:
dicts[i[0]].append(i[1])
logging.info("get dicts:%s"%dicts)
logging.info("get dicts:%s" % dicts)
comment = get_comment()
......
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