fixed typo from cursor simplification

--HG--
extra : convert_revision : svn%3A41726ec3-264d-0410-9c23-a9f1637257cc/trunk%4068
This commit is contained in:
adrian.sampson 2008-07-06 21:50:57 +00:00
parent 0be8ffcf32
commit 9090ef25b5

View file

@ -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()