Fix tab_mute command
This commit is contained in:
parent
4da680f41c
commit
01c25837d5
@ -238,7 +238,7 @@ def tab_mute(tab: apitypes.Tab) -> None:
|
|||||||
if tab is None:
|
if tab is None:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
tab.audio.set_muted(tab.audio.is_muted(), override=True)
|
tab.audio.set_muted(not tab.audio.is_muted(), override=True)
|
||||||
except apitypes.WebTabError as e:
|
except apitypes.WebTabError as e:
|
||||||
raise cmdutils.CommandError(e)
|
raise cmdutils.CommandError(e)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user