Commit 44358ec4 authored by lixiaofang's avatar lixiaofang

add

parent fea1b7a4
......@@ -40,14 +40,14 @@
<entry key="comment" value="59" />
<entry key="dummy" value="6" />
<entry key="guanshui" value="2" />
<entry key="py" value="3352" />
<entry key="py" value="3368" />
<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="3352" />
<entry key="Python" value="3368" />
</counts>
</usages-collector>
</session>
......@@ -130,8 +130,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/instant.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="521">
<caret line="54" column="35" selection-start-line="54" selection-start-column="35" selection-end-line="54" selection-end-column="35" />
<state relative-caret-position="536">
<caret line="55" column="31" selection-start-line="55" selection-start-column="31" selection-end-line="55" selection-end-column="31" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......@@ -500,6 +500,7 @@
</component>
<component name="ToolWindowManager">
<frame x="-322" y="-1080" width="1920" height="1080" extended-state="6" />
<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" />
......@@ -513,7 +514,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.34611398" />
<window_info active="true" anchor="bottom" id="Terminal" order="8" visible="true" weight="0.3564767" />
<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" />
......@@ -932,8 +933,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/instant.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="521">
<caret line="54" column="35" selection-start-line="54" selection-start-column="35" selection-end-line="54" selection-end-column="35" />
<state relative-caret-position="536">
<caret line="55" column="31" selection-start-line="55" selection-start-column="31" selection-end-line="55" selection-end-column="31" />
<folding>
<element signature="e#0#15#0" expanded="true" />
</folding>
......
......@@ -30,18 +30,18 @@ if __name__ == "__main__":
if topic_id_list:
def fun_timer():
exec_count = 0
cookies = login()
if cookies:
click(cookies, topic_id_list)
global timer
exec_count =1
exec_count += 1
if exec_count == 1:
print("---1-----")
# sleep_time = random.randint(300, 540)
sleep_time = 3
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
exec_count+=1
if exec_count == 2:
print("---2-----")
......@@ -50,7 +50,6 @@ if __name__ == "__main__":
sleep_time = 10
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
exec_count += 1
if exec_count == 3:
print("---3-----")
......@@ -59,8 +58,6 @@ if __name__ == "__main__":
sleep_time = 15
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
exec_count += 1
timer = threading.Timer(1, fun_timer) # 首次启动
......
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