Skip to content

Commit

Permalink
fix a missing f
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Apr 16, 2021
1 parent 341d195 commit 181f5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion observation_portal/observations/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def update_end_time(self, new_end_time):
f"Canceled {num_canceled} overlapping observations."
)
telescope_class = self.request.location.telescope_class
cache.set("observation_portal_last_change_time_{telescope_class}", timezone.now(), None)
cache.set(f"observation_portal_last_change_time_{telescope_class}", timezone.now(), None)
cache.set('observation_portal_last_change_time_all', timezone.now(), None)
return self

Expand Down

0 comments on commit 181f5e3

Please sign in to comment.