mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-16 19:41:07 +03:00
Fix-up 3ea1c9f
no longer handling ssl being None
This commit is contained in:
parent
3ea1c9f04b
commit
1805dc48ec
|
@ -11,6 +11,9 @@ __log__ = logging.getLogger(__name__)
|
|||
|
||||
lib = ctypes.util.find_library('ssl')
|
||||
try:
|
||||
if not lib:
|
||||
raise OSError('no library called "ssl" found')
|
||||
|
||||
_libssl = ctypes.cdll.LoadLibrary(lib)
|
||||
except OSError as e:
|
||||
# See https://github.com/LonamiWebs/Telethon/issues/1167
|
||||
|
|
Loading…
Reference in New Issue
Block a user