Commit 4e151f9d authored by lixiaofang's avatar lixiaofang

add

parent 2edfeae8
......@@ -41,7 +41,7 @@ def get_data(numtime):
def write_id_file(id):
try:
data = open("save_topic_id.txt", "a")
data = open("save_topic_id.txt", "w")
data.truncate()
data = open("save_topic_id.txt", "a")
data.write(str(id))
......
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