diff options
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r-- | Lib/nntplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py index 7f26e1c..01d4303 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py @@ -71,7 +71,7 @@ import warnings try: import ssl -except ModuleNotFoundError: +except ImportError: _have_ssl = False else: _have_ssl = True |