Mark suitable methods as static

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
JoeLametta
2021-05-26 08:19:37 +00:00
parent 8d6e64f58d
commit 042bf8f926
4 changed files with 14 additions and 7 deletions

View File

@@ -103,7 +103,8 @@ class EmbedPictureTask(task.Task):
task.Task.start(self, runner)
self.schedule(0.0, self._embed_picture)
def _make_flac_picture(self, cover_art_filename):
@staticmethod
def _make_flac_picture(cover_art_filename):
"""
Given a path to a jpg/png file, return a FLAC picture for embedding.