From 1eaa9219ae772f1fa36b7f8fae565467a9366b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergiusz=20=27q3k=27=20Baza=C5=84ski?= Date: Sat, 19 Oct 2013 20:39:22 +0200 Subject: [PATCH] Python2 --- host.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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