Skip to content

Commit

Permalink
Update import and function call of markdown_table
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 committed Aug 13, 2024
1 parent 4a2ab32 commit 0426077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployer/utils/rendering.py
Original file line number Diff line number Diff line change
@@ -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"):
Expand Down Expand Up @@ -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()
)
Expand All @@ -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()
)
Expand Down

0 comments on commit 0426077

Please sign in to comment.