Skip to content

Commit

Permalink
attempt to fix #63
Browse files Browse the repository at this point in the history
  • Loading branch information
azlux committed May 3, 2020
1 parent 575d776 commit bd31886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymumble_py3/mumble.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def __init__(self, host, user, port=64738, password='', certfile=None, keyfile=N
self.certfile = certfile
self.keyfile = keyfile
self.reconnect = reconnect
self.ping_stats = {"last_rcv": 0, "time_send": 0, "nb": 0, "avg": 40.0, "var": 0.0}
self.tokens = tokens
self.__opus_profile = PYMUMBLE_AUDIO_TYPE_OPUS_PROFILE

Expand Down Expand Up @@ -102,6 +101,7 @@ def init_connection(self):
self.commands = commands.Commands() # manage commands sent between the main and the mumble threads

self.receive_buffer = bytes() # initialize the control connection input buffer
self.ping_stats = {"last_rcv": 0, "time_send": 0, "nb": 0, "avg": 40.0, "var": 0.0} # Set / reset ping stats

def run(self):
"""Connect to the server and start the loop in its thread. Retry if requested"""
Expand Down

0 comments on commit bd31886

Please sign in to comment.