Whitespace cleanup.
This commit is contained in:
parent
c32c3ed214
commit
6ce5b7ca65
1 changed files with 2 additions and 2 deletions
|
@ -66,10 +66,10 @@ class RadioProfile(Disableable, Timestampable, models.Model):
|
||||||
if song.is_song and not self.user.is_staff and not song.is_requestable:
|
if song.is_song and not self.user.is_staff and not song.is_requestable:
|
||||||
if not song.is_available:
|
if not song.is_available:
|
||||||
raise MakeRequestError('Song not available at this time.')
|
raise MakeRequestError('Song not available at this time.')
|
||||||
|
|
||||||
if song.is_playable:
|
if song.is_playable:
|
||||||
raise MakeRequestError('Song is already in request queue.')
|
raise MakeRequestError('Song is already in request queue.')
|
||||||
|
|
||||||
play_again = song.get_date_when_requestable().isoformat(' ',
|
play_again = song.get_date_when_requestable().isoformat(' ',
|
||||||
'seconds')
|
'seconds')
|
||||||
message = ('Song has been played recently and cannot be requested '
|
message = ('Song has been played recently and cannot be requested '
|
||||||
|
|
Loading…
Reference in a new issue