Skip to content

Commit 4f70eac

Browse files
committed
ruff
1 parent e4d74b1 commit 4f70eac

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

livekit-rtc/livekit/rtc/_ffi_client.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ def disposed(self) -> bool:
8383
def dispose(self) -> None:
8484
if self.handle != INVALID_HANDLE and not self._disposed:
8585
self._disposed = True
86-
assert FfiClient.instance._ffi_lib.livekit_ffi_drop_handle(
87-
ctypes.c_uint64(self.handle)
88-
)
86+
assert FfiClient.instance._ffi_lib.livekit_ffi_drop_handle(ctypes.c_uint64(self.handle))
8987

9088
def __repr__(self) -> str:
9189
return f"FfiHandle({self.handle})"
@@ -204,8 +202,7 @@ def __init__(self) -> None:
204202
raise ImportError(
205203
"failed to load %s: %s\n"
206204
"Install the livekit package with: pip install livekit\n"
207-
"Or set LIVEKIT_LIB_PATH to the path of the native library."
208-
% (libname, e)
205+
"Or set LIVEKIT_LIB_PATH to the path of the native library." % (libname, e)
209206
) from None
210207
self._ffi_lib.livekit_ffi_initialize.argtypes = [
211208
ffi_cb_fnc,

0 commit comments

Comments
 (0)