From 0d432e2fd80df1ff70ee8b0a32a6b684ec348699 Mon Sep 17 00:00:00 2001 From: Lurkars Date: Thu, 24 Feb 2022 16:15:15 +0100 Subject: [PATCH] fix typo --- application/luniebox.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/luniebox.py b/application/luniebox.py index 5b80287..fba7793 100644 --- a/application/luniebox.py +++ b/application/luniebox.py @@ -9,7 +9,6 @@ import subprocess import time from enum import Enum from configparser import ConfigParser -from turtle import update import RPi.GPIO as GPIO from spotifydl import SpotifyDL, SpotifyDLStatus from mpd import MPDClient @@ -370,7 +369,7 @@ class Luniebox(object): def mpd_list(self, path=''): if self.mpd_connect(): try: - self.mpd(update(path)) + self.mpd.update(path) result = self.mpd.listfiles(path) return sorted(result, key=self.sort_mpd) except: