Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Raise RuntimeError, not a string

  • Loading branch information...
commit c41df5029c44e385cd8e12b45eb11a14f114a682 1 parent 18e47f1
@recursify authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/mpd_controller.py
View
2  src/mpd_controller.py
@@ -136,7 +136,7 @@ def new_playlists_available(self):
def set_playlists(self):
playlists = self.get_playlists()
if len(playlists) < 1:
- raise "Error: No playlists exist currently. Please add some and try again"
+ raise RuntimeError("Error: No playlists exist currently. Please add some and try again")
self.playlists = playlists
def get_playlists(self):
Please sign in to comment.
Something went wrong with that request. Please try again.