Add missing TypeVar in vlc_telnet decorator (#63587)
This commit is contained in:
parent
7b78862a11
commit
5783c07630
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def catch_vlc_errors(
|
||||||
"""Catch VLC errors."""
|
"""Catch VLC errors."""
|
||||||
|
|
||||||
@wraps(func)
|
@wraps(func)
|
||||||
async def wrapper(self: VlcDevice, *args: _P.args, **kwargs: _P.kwargs) -> None:
|
async def wrapper(self: _T, *args: _P.args, **kwargs: _P.kwargs) -> None:
|
||||||
"""Catch VLC errors and modify availability."""
|
"""Catch VLC errors and modify availability."""
|
||||||
try:
|
try:
|
||||||
await func(self, *args, **kwargs)
|
await func(self, *args, **kwargs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue