feedback page

This commit is contained in:
taskylizard
2023-12-28 10:48:39 +00:00
parent 885f7f54f0
commit cf86f781e6
5 changed files with 21 additions and 10 deletions

View File

@@ -1,19 +1,21 @@
import glob
import time
def output():
read = glob.glob("*.md")
content = ""
nsfw_content = ""
for file in read:
if file != "README.md":
if file != "README.md" or file != "feedback.md":
with open(file, "r") as f:
if "nsfw" in file.lower():
if "NSFWPiracy.md" == file:
nsfw_content += f.read()
continue
content += f.read()
return content + nsfw_content
def main():
content = output()
with open("single-page", "w") as file: