Remove unused comment
This commit is contained in:
parent
fcb4c1534a
commit
a09ea0d945
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user