isAlive is now deprecated

This commit is contained in:
ajmandourah
2020-02-03 06:47:23 +01:00
committed by GitHub
parent f2c153e582
commit f50b660451

View File

@ -765,7 +765,7 @@ class MumbleBot:
# Main loop of the Bot
def loop(self):
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:
# If the buffer isn't empty, I cannot send new music part, so I wait