Skip to content

Commit

Permalink
Fix params
Browse files Browse the repository at this point in the history
  • Loading branch information
whabanks committed May 14, 2024
1 parent b3b9e04 commit 47ce7e0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions notifications_utils/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ def __init__(
template.values = row_dict
self.message_too_long = template.is_message_too_long()

super().__init__(
OrderedDict(
(key, Cell(key, value, error_fn, self.placeholders, len(template.content) if template else None))
for key, value in row_dict.items()
)
)
super().__init__(OrderedDict((key, Cell(key, value, error_fn, self.placeholders)) for key, value in row_dict.items()))

def __getitem__(self, key):
return super().__getitem__(key) or Cell()
Expand Down

0 comments on commit 47ce7e0

Please sign in to comment.