[orca] Fix traceback
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix traceback
- Date: Sun, 29 Nov 2015 09:09:04 +0000 (UTC)
commit 3060639adfaf14f60d30b3d0e0cf503aa3dfc5a7
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Nov 29 04:07:11 2015 -0500
Fix traceback
src/orca/speech_generator.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index 0a9f55b..b812ae2 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -1471,7 +1471,7 @@ class SpeechGenerator(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]