Fix references to settings
This commit is contained in:
parent
67ab8ecbe5
commit
02a1592d33
@ -3,6 +3,7 @@ import multiprocessing
|
|||||||
import socket
|
import socket
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
# TODO Log nice error message if pylast isn't found
|
||||||
import pylast
|
import pylast
|
||||||
|
|
||||||
from mopidy import get_version, settings, SettingsError
|
from mopidy import get_version, settings, SettingsError
|
||||||
@ -29,13 +30,10 @@ class LastfmFrontend(BaseFrontend):
|
|||||||
|
|
||||||
**Settings:**
|
**Settings:**
|
||||||
|
|
||||||
- :mod:`mopidy.settings.LASTFM_USERNAME`
|
- :attr:`mopidy.settings.LASTFM_USERNAME`
|
||||||
- :mod:`mopidy.settings.LASTFM_PASSWORD`
|
- :attr:`mopidy.settings.LASTFM_PASSWORD`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# TODO Add docs
|
|
||||||
# TODO Log nice error message if pylast isn't found
|
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(LastfmFrontend, self).__init__(*args, **kwargs)
|
super(LastfmFrontend, self).__init__(*args, **kwargs)
|
||||||
(self.connection, other_end) = multiprocessing.Pipe()
|
(self.connection, other_end) = multiprocessing.Pipe()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user