From 590a82766a18218b2927c2f4e07d8ef3edaef87d Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 15 Aug 2013 10:17:51 -0300 Subject: [PATCH] as usual, some songs fuck things up in yaml (this time, the song is purely a number and it is converted to int) --- db/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db.py b/db/db.py index 43e99e0..381ac84 100644 --- a/db/db.py +++ b/db/db.py @@ -68,7 +68,7 @@ for song in result: else: artist = 'yes' - song = song['song'].lower() + song = unicode(song['song']).lower() print '\t', artist, '-', song