From 5ff14742b82d5e83dad00704b2d830a261ed2e0a Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 28 Jan 2016 13:48:20 -0800 Subject: [PATCH] Simpler row lookup (#1818) --- beets/ui/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 3ca2c0c42..7dc31d8a2 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -84,7 +84,7 @@ def _print_sqlite(query): entries and print the values of it, with identation of 2 spaces. """ for row in query: - print_(' ' * 2 + dict(zip(row.keys(), row))['key']) + print_(' ' * 2 + row[b'key']) # fields: Shows a list of available fields for queries and format strings.