diff --git a/deployer/utils/rendering.py b/deployer/utils/rendering.py index c5ceed6cb6..41cf06489e 100644 --- a/deployer/utils/rendering.py +++ b/deployer/utils/rendering.py @@ -1,7 +1,7 @@ import os import subprocess -from markdownTable import markdownTable +from py_markdown_table.markdown_table import markdown_table def print_colour(msg: str, colour="green"): @@ -96,7 +96,7 @@ def create_markdown_comment(support_staging_matrix, prod_matrix): # Generate a Markdown table support_staging_md_table = ( - markdownTable(formatted_support_staging_matrix) + markdown_table(formatted_support_staging_matrix) .setParams(row_sep="markdown", quote=False) .getMarkdown() ) @@ -118,7 +118,7 @@ def create_markdown_comment(support_staging_matrix, prod_matrix): # Generate a Markdown table prod_md_table = ( - markdownTable(formatted_prod_matrix) + markdown_table(formatted_prod_matrix) .setParams(row_sep="markdown", quote=False) .getMarkdown() )