diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-09-19 08:07:58 +0200 |
---|---|---|
committer | Anton Khirnov <wyskas@gmail.com> | 2009-09-19 08:07:58 +0200 |
commit | ed542b4a2659bea708cae4217e3983c7bd7f3048 (patch) | |
tree | 3e13b2f0722c0306140f5cff4ddbc77b481368e7 | |
parent | fa2a80be158162e90c4a8d75685875125a78a553 (diff) |
song: merge multiple same tags instead of picking first
-rw-r--r-- | nephilim/song.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/song.py b/nephilim/song.py index 2452b97..cf2d157 100644 --- a/nephilim/song.py +++ b/nephilim/song.py @@ -28,7 +28,7 @@ class Song(dict): # decode all strings to unicode for tag in data: if isinstance(data[tag], list): - data[tag] = data[tag][0] + data[tag] = ','.join(data[tag]) if isinstance(data[tag], str): data[tag] = data[tag].decode('utf-8') |