From aa6d6195bf260fa6fb7cfc9e83284b66c48b65d5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 11 Jan 2022 05:54:18 +0200 Subject: [PATCH] bb --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 4938dfb80..19de9395c 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -567,7 +567,7 @@ def thumbnail_thread(pid): with open('under_attack', 'r') as f: content = f.read() with open('under_attack', 'w') as f: - if content != "yes": + if content == "no": f.write("yes") ma = ModAction( kind="enable_under_attack",