Found and sniped a couple more pep8 migration errors.
This commit is contained in:
@ -99,7 +99,9 @@ class CursorManager():
|
|||||||
try:
|
try:
|
||||||
curr_app = self.env['runtime']['ApplicationManager'].get_current_application(
|
curr_app = self.env['runtime']['ApplicationManager'].get_current_application(
|
||||||
)
|
)
|
||||||
if self.env['commandBuffer']['windowArea'][curr_app]['1'] is not None:
|
if curr_app in self.env['commandBuffer']['windowArea'] and \
|
||||||
|
'1' in self.env['commandBuffer']['windowArea'][curr_app] and \
|
||||||
|
self.env['commandBuffer']['windowArea'][curr_app]['1'] is not None:
|
||||||
return True
|
return True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.env['runtime']['DebugManager'].write_debug_out(
|
self.env['runtime']['DebugManager'].write_debug_out(
|
||||||
|
@ -230,7 +230,7 @@ class driver(inputDriver):
|
|||||||
|
|
||||||
i_devices_files = []
|
i_devices_files = []
|
||||||
for device in self.iDevices:
|
for device in self.iDevices:
|
||||||
i_devices_files.append(self.iDevices[device].fn)
|
i_devices_files.append(self.iDevices[device].path)
|
||||||
|
|
||||||
event_type = evdev.events
|
event_type = evdev.events
|
||||||
for deviceFile in device_file_list:
|
for deviceFile in device_file_list:
|
||||||
|
Reference in New Issue
Block a user