diff options
author | Anton Khirnov <wyskas@gmail.com> | 2010-02-10 20:57:12 +0100 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2010-02-11 08:36:42 +0100 |
commit | 121e8768e40bc6012ec34d77b22d2c408aee048c (patch) | |
tree | 7fcbf89312ba15aa8b0fbb3a1d0ca34e1e15211a /nephilim/song.py | |
parent | 2da79841f38a6b134db7c0232e7f23071db0314c (diff) |
remove some useless conversions to unicode
Diffstat (limited to 'nephilim/song.py')
-rw-r--r-- | nephilim/song.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nephilim/song.py b/nephilim/song.py index 607d4a6..6d8cc39 100644 --- a/nephilim/song.py +++ b/nephilim/song.py @@ -25,12 +25,9 @@ class Song(dict): Its instances _shouldn't_ be stored, use SongRef or PlaylistEntryRef for that.""" def __init__(self, data): - # decode all strings to unicode for tag in data: if isinstance(data[tag], list): data[tag] = ','.join(data[tag]) - if isinstance(data[tag], str): - data[tag] = data[tag].decode('utf-8') dict.__init__(self, data) |