We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a9c344 commit 64775f5Copy full SHA for 64775f5
pyrogram/client/client.py
@@ -1179,7 +1179,7 @@ def load_plugins(self):
1179
1180
try:
1181
module = import_module(module_path)
1182
- except ModuleNotFoundError:
+ except ImportError:
1183
log.warning('[LOAD] Ignoring non-existent module "{}"'.format(module_path))
1184
continue
1185
@@ -1215,7 +1215,7 @@ def load_plugins(self):
1215
1216
1217
1218
1219
log.warning('[UNLOAD] Ignoring non-existent module "{}"'.format(module_path))
1220
1221
0 commit comments