add last_topic_id.txt

This commit is contained in:
Frank 2024-11-09 12:10:13 +01:00
parent e27a515899
commit 2f8a266612
2 changed files with 3 additions and 2 deletions

1
last_topic_id.txt Normal file
View file

@ -0,0 +1 @@
1639

View file

@ -313,9 +313,9 @@ else:
print('An unexpected error occurred:', e)
# write new last_topic_id to file
with open("id", "w") as f:
with open("last_topic_id.txt", "w") as f:
f.write(str(last_topic_id))
f.close()
else:
print("Disallowed to post")