diff --git a/edc_qareports/utils.py b/edc_qareports/utils.py index f7f5d0e..b9df36c 100644 --- a/edc_qareports/utils.py +++ b/edc_qareports/utils.py @@ -10,6 +10,8 @@ def read_unmanaged_model_sql( ) -> str: if not fullpath: fullpath = Path(settings.BASE_DIR) / app_name / "models" / "unmanaged" / filename + else: + fullpath = Path(fullpath) parsed_sql = [] with fullpath.open("r") as f: