Commit 6c25e328 authored by lixiaofang's avatar lixiaofang

add

parent 40900766
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="fd1f0b61-1139-44e5-87e7-f8b86ff52376" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/offline_comment.py" beforeDir="false" afterPath="$PROJECT_DIR$/offline_comment.py" afterDir="false" />
</list>
<list default="true" id="fd1f0b61-1139-44e5-87e7-f8b86ff52376" name="Default Changelist" comment="" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -42,14 +40,14 @@
<entry key="comment" value="59" />
<entry key="dummy" value="6" />
<entry key="guanshui" value="2" />
<entry key="py" value="3851" />
<entry key="py" value="3861" />
<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="3851" />
<entry key="Python" value="3861" />
</counts>
</usages-collector>
</session>
......@@ -144,11 +142,11 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/offline_comment.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-242">
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
<state relative-caret-position="-34">
<caret line="28" column="35" lean-forward="true" selection-start-line="28" selection-start-column="35" selection-end-line="28" selection-end-column="35" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<marker date="1555665572000" expanded="true" signature="1993:1996" ph="..." />
<marker date="1555665806000" expanded="true" signature="2000:2003" ph="..." />
</folding>
</state>
</provider>
......@@ -497,7 +495,6 @@
</component>
<component name="ToolWindowManager">
<frame x="0" y="23" width="1280" height="725" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" />
<window_info id="Favorites" order="1" side_tool="true" />
......@@ -511,7 +508,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.0" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.050819673" />
<window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
<window_info anchor="bottom" id="Python Console" order="10" />
<window_info anchor="bottom" id="DB Execution Console" order="11" />
......@@ -930,11 +927,11 @@
</entry>
<entry file="file://$PROJECT_DIR$/offline_comment.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-242">
<caret line="33" lean-forward="true" selection-start-line="33" selection-end-line="33" />
<state relative-caret-position="-34">
<caret line="28" column="35" lean-forward="true" selection-start-line="28" selection-start-column="35" selection-end-line="28" selection-end-column="35" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<marker date="1555665572000" expanded="true" signature="1993:1996" ph="..." />
<marker date="1555665806000" expanded="true" signature="2000:2003" ph="..." />
</folding>
</state>
</provider>
......
......@@ -26,7 +26,7 @@ def get_user_id():
user_list = []
for i in user_data.readlines():
user_list.append(i.strip())
user_list.append(int(i.strip()))
return user_list
......@@ -67,7 +67,7 @@ def get_data(num1, num2):
for i in topic_id:
print(i[1])
print("========")
if i[1] in user_list:
if int(i[1]) in user_list:
topic_id_list.append(i)
print(i)
print("--------")
......
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