Fix replaygain analysis bug

This commit is contained in:
Daan Sprenkels
2018-10-12 19:19:11 +02:00
parent 844a198dcd
commit 16e3161b3f

View File

@ -19,9 +19,8 @@ def song_to_dict(song, hash=False, user=False, replaygain=False):
data['uploader_name'] = song.user.name
if replaygain:
data['rg_gain'] = song.rg_gain,
data['rg_peak'] = song.rg_peak,
data['rg_gain'] = song.rg_gain
data['rg_peak'] = song.rg_peak
return data