diff --git a/host.py b/host.py index 4930de8..144b93b 100755 --- a/host.py +++ b/host.py @@ -39,7 +39,7 @@ def logmesohard(name): print("Playing {}".format(name)) -class Sound: +class Sound(object): def __init__(self, paths): self.paths = paths def create(self): @@ -48,7 +48,7 @@ class Sound: class SimpleSound(Sound): def __init__(self, path): - super(SimpleSound,self).__init__([path,]) + super(SimpleSound, self).__init__([path,]) def play(self): logmesohard(self.paths[0]) @@ -68,7 +68,7 @@ class RandomSound(Sound): class ListSound(Sound): def __init__(self, paths): self._state = self._getsound() - super().__init__(paths) + super(ListSound, self).__init__(paths) def _getsound(self): last_sound = None