Fix warn() output for MachineUI
We used "self" but the paramter was called "s". Fixes a crash when we ui.warn() (only when using the MachineUI). Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
		| @@ -45,7 +45,7 @@ class MachineUI(UIBase): | ||||
|     def _msg(s, msg): | ||||
|         s._printData('_display', msg) | ||||
|  | ||||
|     def warn(s, msg, minor = 0): | ||||
|     def warn(self, msg, minor = 0): | ||||
|         # TODO, remove and cleanup the unused minor stuff | ||||
|         self.logger.warning("%s:%s:%s:%s" % ( | ||||
|                 'warn', '', currentThread().getName(), msg)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sebastian Spaeth
					Sebastian Spaeth