diff --git a/telebot/service_utils.py b/telebot/service_utils.py index 1a2b871..2e43909 100644 --- a/telebot/service_utils.py +++ b/telebot/service_utils.py @@ -6,7 +6,7 @@ try: # noinspection PyPackageRequirements from PIL import Image pil_imported = True -except: +except ImportError: pil_imported = False