Skip to content

Commit

Permalink
Table bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ofir123 committed Dec 30, 2017
1 parent a95f1ce commit 9d58769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyprinter/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def columns(self):
if len(columns) == 0:
columns = self._rows[0] if isinstance(self._rows[0], list) else self._rows[0].__dict__.keys()

return columns
return list(columns)

@property
def rows_list(self):
Expand Down

0 comments on commit 9d58769

Please sign in to comment.