feedback page
This commit is contained in:
6
.github/single-page.py
vendored
6
.github/single-page.py
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user