diff --git a/bin/ci/ci_run_n_monitor.py b/bin/ci/ci_run_n_monitor.py index 094929c9c90..96da644998f 100755 --- a/bin/ci/ci_run_n_monitor.py +++ b/bin/ci/ci_run_n_monitor.py @@ -611,7 +611,8 @@ def __job_duration_record(dict_item: tuple) -> str: def link2print(url: str, text: str, text_pad: int = 0) -> str: - text_pad = len(str(text)) if text_pad < 1 else text_pad + text = str(text) + text_pad = len(text) if text_pad < 1 else text_pad return f"{URL_START}{url}\a{text:{text_pad}}{URL_END}"