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:
attribute = self.getAttributeByXY( cursorPos['x'], cursorPos['y'])
if self.isDefaultAttribute(attribute):
if self.isDefaultAttribute(attribute):
return False
if update:
self.setLastCursorAttribute(attribute)

View File

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