diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-01-15 10:32:01 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-01-15 10:32:01 +0100 |
commit | 8c111a95f19f4216c300ef8e4d04146fa611efe1 (patch) | |
tree | c1b5824387af39a6aeb74889022116b4281101b8 /nephilim/plugins/__init__.py | |
parent | deb35230eb8ded52e9450cf1cc0aa218c62b9e02 (diff) |
Diffstat (limited to 'nephilim/plugins/__init__.py')
-rw-r--r-- | nephilim/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nephilim/plugins/__init__.py b/nephilim/plugins/__init__.py index 71ee2c4..32d9261 100644 --- a/nephilim/plugins/__init__.py +++ b/nephilim/plugins/__init__.py @@ -43,7 +43,7 @@ class Plugins: module = sys.modules[name] else: module = __import__(name, globals(), locals(), [], 1) - except (SyntaxError, ImportError), e: + except (SyntaxError, ImportError) as e: logging.error('Failed to initialize plugin %s: %s.'%(name, e)) return False |