Of course. I wasn't thinking straight (got a flight at 4:30 this morning and I haven't recovered yet!)

On 12 May 2014, at 19:45, Stefan Kögl <notifications@github.com> wrote:

> In soco/core.py:
> 
> > @@ -86,7 +88,9 @@ def __init__(self):
> >          import warnings
> >          warnings.warn("SonosDiscovery is deprecated. Use discover instead.")
> >  
> > -    def get_speaker_ips(self):
> > +    @staticmethod
> > +    def get_speaker_ips():
> You shouldn't notice any difference when calling the function. I was just cleaning up methods that have a self but don't use it.
> 
> >>> class A():
> ...   def a(self):
> ...     return 1
> ...   @staticmethod
> ...   def b():
> ...    return 2
> ... 
> >>> x = A()
> >>> 
> >>> x.a()
> 1
> >>> x.b()  # b can also be called as an instance method
> 2
> —
> Reply to this email directly or view it on GitHub.
>