From a09ea0d945a5fbdb887e7d8a2e65414babccc959 Mon Sep 17 00:00:00 2001 From: Govindas Date: Thu, 27 Jan 2022 13:03:53 +0200 Subject: [PATCH] Remove unused comment --- gsitegen/generate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gsitegen/generate.py b/gsitegen/generate.py index e076737..f496835 100644 --- a/gsitegen/generate.py +++ b/gsitegen/generate.py @@ -129,12 +129,11 @@ def main(): pagescount = 0 for file in Path(__file__).parent.iterdir(): - #TODO get file name only if file.is_file(): if file.suffix == ".page": pagescount += 1 with file.open('r') as page: - generateLines(str(file.stem), page.readlines()) + generateLines(file.stem, page.readlines()) print("Found " + str(pagescount) + " pages") #write all pages to files