From 98cfe19a38a770f17fe6e8ebe01141753103d8f9 Mon Sep 17 00:00:00 2001 From: Taizo Simpson Date: Fri, 12 Oct 2018 18:33:04 -0400 Subject: [PATCH] Removed unnecessary variable initialization --- supysonic/db.py | 1 - 1 file changed, 1 deletion(-) diff --git a/supysonic/db.py b/supysonic/db.py index 1db68a3..25ea318 100644 --- a/supysonic/db.py +++ b/supysonic/db.py @@ -306,7 +306,6 @@ class Track(PathMixin, db.Entity): def extract_cover_art(self): if os.path.exists(self.path): metadata = mutagen.File(self.path) - data = None if metadata: if isinstance(metadata.tags, mutagen.id3.ID3Tags) and len(metadata.tags.getall('APIC')) > 0: return metadata.tags.getall('APIC')[0].data