From a2d5c1487483bea634f108cbbc4af43acde1aae6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 13 May 2010 07:40:00 -0400 Subject: [PATCH] Fix str() bug in hooke.ui.commandline.LocalExitCommand save msg. Old implemtation crashed if Playlist.name was None. --- hooke/ui/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/ui/commandline.py b/hooke/ui/commandline.py index 57263db..8391197 100644 --- a/hooke/ui/commandline.py +++ b/hooke/ui/commandline.py @@ -301,7 +301,7 @@ typing mistakes ;). default = True if len(not_saved) > 0: msg = 'Unsaved playlists (%s). %s' \ - % (', '.join(not_saved), msg) + % (', '.join([str(p) for p in not_saved]), msg) default = False outqueue.put(BooleanRequest(msg, default)) result = inqueue.get() -- 2.26.2