diff --git a/modelscan/modelscan.py b/modelscan/modelscan.py index c25f771..228759b 100644 --- a/modelscan/modelscan.py +++ b/modelscan/modelscan.py @@ -227,7 +227,7 @@ def _scan_source( def _generate_results(self) -> Dict[str, Any]: report: Dict[str, Any] = {} - absolute_path = Path(self._input_path) + absolute_path = Path(self._input_path).absolute() if Path(self._input_path).is_file(): absolute_path = Path(absolute_path).parent