diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index a79740ade..fe9dbe96a 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -568,7 +568,7 @@ class Connection(object): yield bluelet.call(self.do_command(Command(line))) except BPDClose: # Command indicates that the conn should close. - self.client.close() + self.sock.close() return @classmethod