Skip to content

Commit

Permalink
_generate_tdict_data bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SongminYu committed Jan 26, 2024
1 parent 940cb5d commit 75b1471
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tab2dict/tab_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def __init__(
key_cols: List[str],
tdict_data: dict,
):
super().__init__()
self.tdict_type = tdict_type
self.key_cols = key_cols
self._data = tdict_data
Expand Down Expand Up @@ -113,7 +112,7 @@ def _generate_tdict_data(
key = []
for key_col in key_cols:
key.append(row[key_col])
d[tuple(key)] = row[value_column_name]
d[tuple(key)] = row[value_column_name]
return d

def _tkey2tuple(self, tkey: "TabKey") -> tuple:
Expand Down

0 comments on commit 75b1471

Please sign in to comment.