fix syntax

This commit is contained in:
chrys 2018-05-29 19:56:42 +02:00
parent 52bc162b10
commit 38ba434bfe
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ class attributeManager():
try: try:
attribute = self.getAttributeByXY( cursorPos['x'], cursorPos['y']) attribute = self.getAttributeByXY( cursorPos['x'], cursorPos['y'])
if self.isDefaultAttribute(attribute): if self.isDefaultAttribute(attribute):
return False return False
if update: if update:
self.setLastCursorAttribute(attribute) self.setLastCursorAttribute(attribute)

View File

@ -101,7 +101,7 @@ class fenrirManager():
if self.controlMode and not self.switchCtrlModeOnce == 1 or\ if self.controlMode and not self.switchCtrlModeOnce == 1 or\
not self.controlMode: not self.controlMode:
isControlMode = self.handleControlMode(event['Data']) isControlMode = self.handleControlMode(event['Data'])
isCommand = False isCommand = False
if self.controlMode and not self.switchCtrlModeOnce == 1 or\ if self.controlMode and not self.switchCtrlModeOnce == 1 or\
not self.controlMode and self.switchCtrlModeOnce == 1: not self.controlMode and self.switchCtrlModeOnce == 1: