mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 04:32:43 +00:00
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 <yongsheng.tan@shareinvestor.com> Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user