diff --git a/htmd/example_site/__init__.py b/htmd/example_site/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/htmd/example_site/pages/__init__.py b/htmd/example_site/pages/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/htmd/example_site/posts/__init__.py b/htmd/example_site/posts/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/htmd/example_site/static/__init__.py b/htmd/example_site/static/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/htmd/example_site/templates/__init__.py b/htmd/example_site/templates/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/htmd/utils.py b/htmd/utils.py index 11c28f0..317e408 100644 --- a/htmd/utils.py +++ b/htmd/utils.py @@ -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