From 0cb423c877ae2416f3a2f10fd7edc170e5bdb475 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sun, 4 Jun 2023 00:51:17 +0530 Subject: [PATCH] simplify check --- .github/single-page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/single-page.py b/.github/single-page.py index 1cb0f1a08..7028cae13 100644 --- a/.github/single-page.py +++ b/.github/single-page.py @@ -8,7 +8,7 @@ def output(): content = "" nsfw_content = "" for file in read: - if file != "single-page.md" and file != "README.md": + if file != "README.md": with open(file, "r") as f: if "nsfw" in file.lower(): nsfw_content += f.read()