fix: deaf and mute. Absolute path for mumble.
This commit is contained in:
@@ -11,7 +11,8 @@ OP_OK = 'OK'.encode()
|
|||||||
OP_ERROR = 'ERROR'.encode()
|
OP_ERROR = 'ERROR'.encode()
|
||||||
|
|
||||||
def exec_mumble(deaf: bool):
|
def exec_mumble(deaf: bool):
|
||||||
subprocess.Popen(['mumble', 'rpc', 'deaf' if deaf else 'undeaf'])
|
subprocess.Popen(['/usr/bin/mumble', 'rpc', 'deaf' if deaf else 'undeaf'])
|
||||||
|
subprocess.Popen(['/usr/bin/mumble', 'rpc', 'mute' if deaf else 'unmute'])
|
||||||
|
|
||||||
def deaf_mumble():
|
def deaf_mumble():
|
||||||
exec_mumble(True)
|
exec_mumble(True)
|
||||||
|
|||||||
Reference in New Issue
Block a user