Skip to content
Snippets Groups Projects
Unverified Commit ce739668 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix syntax.

parent 58e71f31
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ class TimePeriod(models.Model):
time_start = models.TimeField(verbose_name=_('Time the period starts'))
time_end = models.TimeField(verbose_name=_('Time the period ends'))
def __str__(self): str:
def __str__(self) -> str:
return '%s, %d. period (%s - %s)' % (self.weekday, self.period, self.time_start, self.time_end)
@classmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment