Remove redundant line.
This commit is contained in:
parent
80b3eb2031
commit
930f300bdb
1 changed files with 0 additions and 1 deletions
|
@ -200,7 +200,6 @@ class Song(Disableable, Publishable, Timestampable, models.Model):
|
||||||
remaining_wait = self.last_played - allowed_datetime
|
remaining_wait = self.last_played - allowed_datetime
|
||||||
if remaining_wait.total_seconds() > 0:
|
if remaining_wait.total_seconds() > 0:
|
||||||
return remaining_wait
|
return remaining_wait
|
||||||
return timedelta(seconds=0)
|
|
||||||
return timedelta(seconds=0)
|
return timedelta(seconds=0)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue