From c89395b2206b621ccfe16e47b7f588a5b73d58a4 Mon Sep 17 00:00:00 2001 From: Taizo Simpson Date: Fri, 12 Oct 2018 19:36:21 -0400 Subject: [PATCH] Annotated method as static so python2 stops complaining --- supysonic/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/supysonic/db.py b/supysonic/db.py index a13c90f..bc65e84 100644 --- a/supysonic/db.py +++ b/supysonic/db.py @@ -311,6 +311,7 @@ class Track(PathMixin, db.Entity): def extract_cover_art(self): return Track._extract_cover_art(self.path) + @staticmethod def _extract_cover_art(path): if os.path.exists(path): metadata = mutagen.File(path)