Commit 1aec2b98 authored by lixiaofang's avatar lixiaofang

add

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