Found and sniped a couple more pep8 migration errors.

This commit is contained in:
Storm Dragon
2025-07-05 09:29:32 -04:00
parent c90c726899
commit d28c18faed
2 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,9 @@ class CursorManager():
try:
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
except Exception as e:
self.env['runtime']['DebugManager'].write_debug_out(