From 9090ef25b50fea70264eb257a3a5e16c956a8d79 Mon Sep 17 00:00:00 2001 From: "adrian.sampson" Date: Sun, 6 Jul 2008 21:50:57 +0000 Subject: [PATCH] fixed typo from cursor simplification --HG-- extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%4068 --- beets/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/library.py b/beets/library.py index 1908e988c..eee26a17e 100644 --- a/beets/library.py +++ b/beets/library.py @@ -140,7 +140,7 @@ class Item(object): if load_id is None: load_id = self.id - self.library.conn.execute( + c = self.library.conn.execute( 'select * from items where id=?', (load_id,) ) self._fill_record(c.fetchone()) c.close()