Skip to content

Commit

Permalink
Remove __init__.py from example_site
Browse files Browse the repository at this point in the history
  • Loading branch information
Siecje committed Dec 8, 2023
1 parent 1c269f4 commit 028d0d3
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 2 deletions.
Empty file removed htmd/example_site/__init__.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
3 changes: 1 addition & 2 deletions htmd/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ def copy_missing_templates():
template_dir = files('htmd.example_site') / 'templates'
for template_file in sorted(template_dir.iterdir()):
skip_file = False
for skip_file_name in ('__init__.py', '__pycache__',):
# __init__.py is in this directory for importlib.resources to work
for skip_file_name in ('__pycache__',):
if skip_file_name in str(template_file):
skip_file = True
break
Expand Down

0 comments on commit 028d0d3

Please sign in to comment.