From 4ed81dc15e25d3bdb2832fdc184e88ec99ba3b76 Mon Sep 17 00:00:00 2001 From: Jakob Pinterits Date: Tue, 5 Nov 2024 14:52:24 +0100 Subject: [PATCH] more reloading related fixes --- rio/cli/project_setup.py | 1 - rio/cli/run_project/app_loading.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/rio/cli/project_setup.py b/rio/cli/project_setup.py index 7be4d048..555c74c3 100644 --- a/rio/cli/project_setup.py +++ b/rio/cli/project_setup.py @@ -83,7 +83,6 @@ import typing as t import rio -from . import pages from . import components as comps """.strip() ) diff --git a/rio/cli/run_project/app_loading.py b/rio/cli/run_project/app_loading.py index a9cf833a..2b2f6d40 100644 --- a/rio/cli/run_project/app_loading.py +++ b/rio/cli/run_project/app_loading.py @@ -172,8 +172,6 @@ def modules_in_directory(project_path: Path) -> t.Iterable[str]: module_paths = [getattr(module, "__file__", None)] except TypeError: continue - else: - continue # If any path is inside of the process directory, yield the module for module_path in module_paths: