diff options
Diffstat (limited to 'pluginbase.py')
-rw-r--r-- | pluginbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pluginbase.py b/pluginbase.py index 1158ed9..e264649 100644 --- a/pluginbase.py +++ b/pluginbase.py @@ -292,7 +292,7 @@ class PluginSource(object): return open(os.path.join(os.path.dirname(fn), filename), 'rb') buf = pkgutil.get_data(self.mod.__name__ + '.' + plugin, filename) if buf is None: - raise IOError(errno.ENOEXITS, 'Could not find resource') + raise IOError(errno.ENOENT, 'Could not find resource') return NativeBytesIO(buf) def cleanup(self): |