fix typo
This commit is contained in:
parent
5e98f8e873
commit
0d432e2fd8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user