We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f660e38 commit 5269070Copy full SHA for 5269070
1 file changed
sz_tools/sz_configtool
@@ -6131,7 +6131,9 @@ class SzCfgShell(cmd.Cmd):
6131
table_object.add_row(tblRow)
6132
6133
table_object.align = "l"
6134
- if hasattr(prettytable, "SINGLE_BORDER"):
+ if hasattr(prettytable, "TableStyle"):
6135
+ table_object.set_style(prettytable.TableStyle.SINGLE_BORDER)
6136
+ else:
6137
table_object.set_style(prettytable.SINGLE_BORDER)
6138
table_object.hrules = 1
6139
render_string = table_object.get_string()
0 commit comments