]> kaliko git repositories - python-musicpd.git/blobdiff - musicpd.py
Fixed send_noidle (introduced with e8daa719)
[python-musicpd.git] / musicpd.py
index 4c57b9d8c42989391552c0691c9f845c6d3f4873..25abfd9cbbcbc8c380e683e2fc578bf155cfaa6e 100644 (file)
@@ -329,7 +329,7 @@ class MPDClient:
 
     def __getattr__(self, attr):
         if attr == 'send_noidle':  # have send_noidle to cancel idle as well as noidle
-            return self.noidle()
+            return self.noidle
         if attr.startswith("send_"):
             command = attr.replace("send_", "", 1)
             wrapper = self._send