Typo, 'e' -> 'warning'

This commit is contained in:
jesopo 2018-09-25 11:02:31 +01:00
parent 894e95d37d
commit c3e8e234eb

View file

@ -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" % (