mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed method name
This commit is contained in:
parent
9216e7f517
commit
2b42dc22a7
@ -726,7 +726,7 @@ class Client(MPDClient):
|
|||||||
else:
|
else:
|
||||||
print("No permission to get music directory.")
|
print("No permission to get music directory.")
|
||||||
else:
|
else:
|
||||||
self.lib_path=self._settings.get_lib()
|
self.lib_path=self._settings.get_lib_path()
|
||||||
if "status" in self.commands():
|
if "status" in self.commands():
|
||||||
self._main_timeout_id=GLib.timeout_add(self._refresh_interval, self._main_loop)
|
self._main_timeout_id=GLib.timeout_add(self._refresh_interval, self._main_loop)
|
||||||
self.emitter.emit("connected")
|
self.emitter.emit("connected")
|
||||||
@ -976,7 +976,7 @@ class Settings(Gio.Settings):
|
|||||||
socket=FALLBACK_SOCKET
|
socket=FALLBACK_SOCKET
|
||||||
return socket
|
return socket
|
||||||
|
|
||||||
def get_lib(self):
|
def get_lib_path(self):
|
||||||
lib_path=self.get_string("path")
|
lib_path=self.get_string("path")
|
||||||
if not lib_path:
|
if not lib_path:
|
||||||
lib_path=FALLBACK_LIB
|
lib_path=FALLBACK_LIB
|
||||||
|
Loading…
Reference in New Issue
Block a user