Skip to content

Commit

Permalink
Merge pull request #22 from johnomotani/fix-texttable-float-format
Browse files Browse the repository at this point in the history
Set format of all columns to 'text' in get_help_table()
  • Loading branch information
johnomotani authored Jan 8, 2023
2 parents de6de1f + 949b0b4 commit 2e43a71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optionsfactory/optionsfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def get_help_table(self, prefix=None, as_Texttable=False):
raise
tt = Texttable()
tt.header([heading1, heading2, heading3])
tt.set_cols_dtype(["t", "t", "t"])
for k in keys:
tt.add_row([k, str(docs[k]), str(evaluated_defaults[k])])
return tt
Expand Down

0 comments on commit 2e43a71

Please sign in to comment.