Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion reflex/utils/prerequisites.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import sys
import typing
from datetime import datetime
from os import getcwd
from pathlib import Path
from types import ModuleType
from typing import NamedTuple
Expand Down Expand Up @@ -189,7 +190,7 @@ def get_app(reload: bool = False) -> ModuleType:
_check_app_name(config)

module = config.module
sys.path.insert(0, str(Path.cwd()))
sys.path.insert(0, getcwd()) # noqa: PTH109
app = (
__import__(module, fromlist=(constants.CompileVars.APP,))
if not config.app_module
Expand Down