From 8790631a65bd409e6f48be41a24c5cbc0da5e84d Mon Sep 17 00:00:00 2001
From: David Magnus Henriques <eorl@bruder.space>
Date: Sat, 26 May 2018 13:23:08 +0200
Subject: [PATCH] Removed Typo which broke oggVorbis-import

---
 api/funkwhale_api/music/metadata.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/funkwhale_api/music/metadata.py b/api/funkwhale_api/music/metadata.py
index 5c8c065f55..522c64c85d 100644
--- a/api/funkwhale_api/music/metadata.py
+++ b/api/funkwhale_api/music/metadata.py
@@ -67,7 +67,7 @@ VALIDATION = {
 
 CONF = {
     'OggVorbis': {
-        'getter': lambda f, k: f[kTr][0],
+        'getter': lambda f, k: f[k][0],
         'fields': {
             'track_number': {
                 'field': 'TRACKNUMBER',
-- 
GitLab