Fix unit description script

What does this MR do and why?

This MR addresses the issue that was raised by @bogdan.antohe on Slack. It looks like the changes that were introduced by badf1c05 are breaking the script when modifying an unit description. The f-string contains another pair of square brackets ["name", ...] within it, which Python interprets incorrectly as slicing syntax. The quick fix is to store the list as a variable and then parse it to the convert_to_markdown_table function or to just change the double quotes to single quotes.

Edited by Dragos Gerea

Merge request reports

Loading