From 57056752181d7ee0703675bf893f290bba364637 Mon Sep 17 00:00:00 2001 From: Tan Yong Sheng Date: Tue, 14 Feb 2023 23:17:14 +0800 Subject: [PATCH] Report rendering can't handle save path for users that have a period (.) in username (#4235) * fix reports not recognize dot path * Formattiing --------- Co-authored-by: Yong Sheng Tan Co-authored-by: James Maslek --- openbb_terminal/reports/reports_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_terminal/reports/reports_model.py b/openbb_terminal/reports/reports_model.py index cf3d9df894f..8e6aad76b6d 100644 --- a/openbb_terminal/reports/reports_model.py +++ b/openbb_terminal/reports/reports_model.py @@ -282,8 +282,8 @@ def create_output_path(input_path: str, parameters_dict: Dict[str, Any]) -> str: + "_" + f"{report_name}{args_to_output}" ) + output_path = report_output_name.replace(".", "_") output_path = str(USER_REPORTS_DIRECTORY / report_output_name) - output_path = output_path.replace(".", "_") return output_path