Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
JobDoesburg committed Apr 10, 2024
1 parent a7f66d3 commit 13b5a23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/thaliedje/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ def __init__(self, *args, **kwargs):
"{} (currently offline)".format(instance.playback_device_name),
)
)
self.fields[
"playback_device_id"
].help_text = "The currently selected device appears to be offline."
self.fields["playback_device_id"].help_text = (
"The currently selected device appears to be offline."
)
if len(choices) == 0 and instance.playback_device_id == "":
self.fields["playback_device_id"].help_text = "No online Spotify clients were found."
choices = [("", "----------")] + choices
Expand Down

0 comments on commit 13b5a23

Please sign in to comment.