mirror of
https://github.com/fmhy/edit.git
synced 2026-02-18 01:01:23 +11:00
simplify check
This commit is contained in:
parent
16ea81aa04
commit
0cb423c877
1 changed files with 1 additions and 1 deletions
2
.github/single-page.py
vendored
2
.github/single-page.py
vendored
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue