fix typo
This commit is contained in:
parent
5e98f8e873
commit
0d432e2fd8
@ -9,7 +9,6 @@ import subprocess
|
|||||||
import time
|
import time
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from configparser import ConfigParser
|
from configparser import ConfigParser
|
||||||
from turtle import update
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
from spotifydl import SpotifyDL, SpotifyDLStatus
|
from spotifydl import SpotifyDL, SpotifyDLStatus
|
||||||
from mpd import MPDClient
|
from mpd import MPDClient
|
||||||
@ -370,7 +369,7 @@ class Luniebox(object):
|
|||||||
def mpd_list(self, path=''):
|
def mpd_list(self, path=''):
|
||||||
if self.mpd_connect():
|
if self.mpd_connect():
|
||||||
try:
|
try:
|
||||||
self.mpd(update(path))
|
self.mpd.update(path)
|
||||||
result = self.mpd.listfiles(path)
|
result = self.mpd.listfiles(path)
|
||||||
return sorted(result, key=self.sort_mpd)
|
return sorted(result, key=self.sort_mpd)
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user