mirror of
https://github.com/fmhy/edit.git
synced 2026-02-17 16:51:12 +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 = ""
|
content = ""
|
||||||
nsfw_content = ""
|
nsfw_content = ""
|
||||||
for file in read:
|
for file in read:
|
||||||
if file != "single-page.md" and file != "README.md":
|
if file != "README.md":
|
||||||
with open(file, "r") as f:
|
with open(file, "r") as f:
|
||||||
if "nsfw" in file.lower():
|
if "nsfw" in file.lower():
|
||||||
nsfw_content += f.read()
|
nsfw_content += f.read()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue