Skip to content

Commit

Permalink
Fix missing parameter in call to display function
Browse files Browse the repository at this point in the history
We don't use the __str__() call very often on volunteer slots, but we do
when generating notifications from API operations...
  • Loading branch information
mhagander committed Nov 27, 2023
1 parent c53d8b2 commit 4ae3d69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgresqleu/confreg/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,7 @@ class Meta:
ordering = ['timerange', ]

def __str__(self):
return self._display_timerange()
return self._display_timerange(None)

def _display_timerange(self, cache):
start = timezone.localtime(self.timerange.lower)
Expand Down

0 comments on commit 4ae3d69

Please sign in to comment.