mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-16 06:03:11 +00:00
Ignore type error already handled by exception handling
This commit is contained in:
parent
8591cfc5e7
commit
816d2176e9
@ -217,7 +217,8 @@ def _load_default() -> bool:
|
||||
_filename = os.path.join(_basedir, 'bin', f'libopus-0.{_target}.dll')
|
||||
_lib = libopus_loader(_filename)
|
||||
else:
|
||||
_lib = libopus_loader(ctypes.util.find_library('opus'))
|
||||
# This is handled in the exception case
|
||||
_lib = libopus_loader(ctypes.util.find_library('opus')) # type: ignore
|
||||
except Exception:
|
||||
_lib = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user