From 200d3a155d7456c9a689b2d60746a4fa22f8152c Mon Sep 17 00:00:00 2001 From: nanos Date: Tue, 21 Mar 2023 08:40:22 +0000 Subject: [PATCH] forgot to remove lock file --- find_posts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/find_posts.py b/find_posts.py index 79a38be..2d6c48b 100644 --- a/find_posts.py +++ b/find_posts.py @@ -757,11 +757,11 @@ if __name__ == "__main__": with open(REPLIED_TOOT_SERVER_IDS_FILE, "w", encoding="utf-8") as f: json.dump(dict(list(REPLIED_TOOT_SERVER_IDS.items())[-10000:]), f) - # os.remove(LOCK_FILE) + os.remove(LOCK_FILE) log(f"Processing finished in {datetime.now() - start}.") except Exception as ex: - # os.remove(LOCK_FILE) + os.remove(LOCK_FILE) log(f"Job failed after {datetime.now() - start}.") raise