Merge pull request #66 from ajmandourah/patch-1
isAlive is now deprecated
This commit is contained in:
commit
59a743f1b4
@ -765,7 +765,7 @@ class MumbleBot:
|
|||||||
# Main loop of the Bot
|
# Main loop of the Bot
|
||||||
def loop(self):
|
def loop(self):
|
||||||
raw_music = ""
|
raw_music = ""
|
||||||
while not self.exit and self.mumble.isAlive():
|
while not self.exit and self.mumble.is_alive():
|
||||||
|
|
||||||
while self.mumble.sound_output.get_buffer_size() > 0.5 and not self.exit:
|
while self.mumble.sound_output.get_buffer_size() > 0.5 and not self.exit:
|
||||||
# If the buffer isn't empty, I cannot send new music part, so I wait
|
# If the buffer isn't empty, I cannot send new music part, so I wait
|
||||||
|
Loading…
x
Reference in New Issue
Block a user