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 return
except ModuleManager.ModuleWarning as warning: except ModuleManager.ModuleWarning as warning:
event["stderr"].write("Module '%s' not loaded: %s" % ( event["stderr"].write("Module '%s' not loaded: %s" % (
name, str(e))) name, str(warning)))
return return
except Exception as e: except Exception as e:
event["stderr"].write("Failed to reload module '%s': %s" % ( event["stderr"].write("Failed to reload module '%s': %s" % (