Remove unused comment

This commit is contained in:
Govindas 2022-01-27 13:03:53 +02:00
parent fcb4c1534a
commit a09ea0d945

View File

@ -129,12 +129,11 @@ def main():
pagescount = 0 pagescount = 0
for file in Path(__file__).parent.iterdir(): for file in Path(__file__).parent.iterdir():
#TODO get file name only
if file.is_file(): if file.is_file():
if file.suffix == ".page": if file.suffix == ".page":
pagescount += 1 pagescount += 1
with file.open('r') as page: with file.open('r') as page:
generateLines(str(file.stem), page.readlines()) generateLines(file.stem, page.readlines())
print("Found " + str(pagescount) + " pages") print("Found " + str(pagescount) + " pages")
#write all pages to files #write all pages to files