Skip to content

Commit

Permalink
actually we dont need it in ZIM
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Mar 26, 2024
1 parent dd3d6b1 commit 85d3174
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nautiluszim/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,9 @@ def add_ui(self):
if not fpath.is_file():
continue
path = str(fpath.relative_to(self.templates_dir))
# index is an actual template which shouldn't be in ZIM
if path == "index.html":
continue

logger.debug(f"> {path}")
self.zim_creator.add_item_for(path=path, fpath=fpath, is_front=False)

0 comments on commit 85d3174

Please sign in to comment.