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: