From b609476d9e16235a68f3812b7ed7a73d097b26c6 Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 18 Jun 2018 00:25:55 +0200 Subject: [PATCH] fix syntax for WIP driver --- src/fenrirscreenreader/inputDriver/atspiDriver.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/inputDriver/atspiDriver.py b/src/fenrirscreenreader/inputDriver/atspiDriver.py index ce44772c..a56d689d 100644 --- a/src/fenrirscreenreader/inputDriver/atspiDriver.py +++ b/src/fenrirscreenreader/inputDriver/atspiDriver.py @@ -45,9 +45,8 @@ class driver(inputDriver): def initialize(self, environment): self.env = environment self.env['runtime']['inputManager'].setShortcutType('KEY') - global _available - - self._initialized = _availableError + global _available + self._initialized = _available if not self._initialized: global _availableError currError = ' '