fix syntax for WIP driver

This commit is contained in:
chrys 2018-06-18 00:25:55 +02:00
parent d926858aeb
commit b609476d9e

View File

@ -45,9 +45,8 @@ class driver(inputDriver):
def initialize(self, environment): def initialize(self, environment):
self.env = environment self.env = environment
self.env['runtime']['inputManager'].setShortcutType('KEY') self.env['runtime']['inputManager'].setShortcutType('KEY')
global _available global _available
self._initialized = _available
self._initialized = _availableError
if not self._initialized: if not self._initialized:
global _availableError global _availableError
currError = ' ' currError = ' '