summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xguiconfig.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/guiconfig.py b/guiconfig.py
index d333be4..f940500 100755
--- a/guiconfig.py
+++ b/guiconfig.py
@@ -1961,9 +1961,7 @@ def _sorted_sc_nodes(cached_nodes=[]):
key=lambda choice: choice.name or "")
cached_nodes += sorted(
- [node
- for choice in choices
- for node in choice.nodes],
+ [node for choice in choices for node in choice.nodes],
key=lambda node: node.prompt[0] if node.prompt else "")
return cached_nodes