diff --git a/mopidy/mpd/actor.py b/mopidy/mpd/actor.py index 52cf6746..8181e0e7 100644 --- a/mopidy/mpd/actor.py +++ b/mopidy/mpd/actor.py @@ -16,8 +16,7 @@ class MpdFrontend(pykka.ThreadingActor, CoreListener): def __init__(self, config, core): super(MpdFrontend, self).__init__() - hostname = network.format_hostname(config['mpd']['hostname']) - self.hostname = hostname + self.hostname = network.format_hostname(config['mpd']['hostname']) self.port = config['mpd']['port'] self.zeroconf_name = config['mpd']['zeroconf'] self.zeroconf_service = None