Skip to content

Commit

Permalink
fix a typo #265
Browse files Browse the repository at this point in the history
  • Loading branch information
llazzaro committed Dec 3, 2016
1 parent ec3e10b commit 3ca7da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/periods.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def cached_get_sorted_occurrences(self):
occurrences = property(cached_get_sorted_occurrences)

def get_persisted_occurrences(self):
if hasattr(self, '_persisted_occurrenes'):
if hasattr(self, '_persisted_occurrences'):
return self._persisted_occurrences
else:
self._persisted_occurrences = Occurrence.objects.filter(event__in=self.events)
Expand Down

0 comments on commit 3ca7da1

Please sign in to comment.