Typo, 'e' -> 'warning'
This commit is contained in:
parent
894e95d37d
commit
c3e8e234eb
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Module(object):
|
|||
return
|
||||
except ModuleManager.ModuleWarning as warning:
|
||||
event["stderr"].write("Module '%s' not loaded: %s" % (
|
||||
name, str(e)))
|
||||
name, str(warning)))
|
||||
return
|
||||
except Exception as e:
|
||||
event["stderr"].write("Failed to reload module '%s': %s" % (
|
||||
|
|
Loading…
Reference in a new issue