Skip to content

Commit

Permalink
Pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
mezantrop committed Sep 23, 2024
1 parent 266a747 commit ac49049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsqlike/tsqlike.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,8 @@ def export_list_dicts(self, **kwargs):
""" Export as list of dictionaries """

sn = kwargs.get('use_shortnames', self.use_shortnames)
return [{self._make_shortnames()[c] if sn else self.header[c]: r[c] for c in range(self.cols)} for r in self.table]
return [{self._make_shortnames()[c] if sn else self.header[c]:
r[c] for c in range(self.cols)} for r in self.table]

# -------------------------------------------------------------------------------------------- #
def export_list_lists(self, header=True, **kwargs):
Expand Down

0 comments on commit ac49049

Please sign in to comment.