[orca] Fix a traceback
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix a traceback
- Date: Sat, 13 Aug 2016 22:19:27 +0000 (UTC)
commit 1ecff5342cad29852731ccd180d0754fb2aee7c1
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Aug 13 18:14:27 2016 -0400
Fix a traceback
src/orca/braille_generator.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/braille_generator.py b/src/orca/braille_generator.py
index f664367..f01f499 100644
--- a/src/orca/braille_generator.py
+++ b/src/orca/braille_generator.py
@@ -313,7 +313,7 @@ class BrailleGenerator(generator.Generator):
if 'Selection' in pyatspi.listInterfaces(obj):
items = self._script.utilities.selectedChildren(obj)
else:
- items = items or [self._script.utilities.focusedChild(obj)]
+ items = [self._script.utilities.focusedChild(obj)]
if not (items and items[0]):
return result
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]