projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb561d
)
Fix str() bug in hooke.ui.commandline.LocalExitCommand save msg.
author
W. Trevor King
<wking@drexel.edu>
Thu, 13 May 2010 11:40:00 +0000
(07:40 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 13 May 2010 11:40:00 +0000
(07:40 -0400)
Old implemtation crashed if Playlist.name was None.
hooke/ui/commandline.py
patch
|
blob
|
history
diff --git
a/hooke/ui/commandline.py
b/hooke/ui/commandline.py
index 57263dba9219a75a7e9c3379ab26988addd3fa87..8391197523bf3003ac27cbcd23dc029dca94a8df 100644
(file)
--- 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()