From e1ebc4946f2f0fa744682440e7b363202036cf56 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 24 Jan 2011 12:46:12 -0700 Subject: [PATCH] Fix #8558 (Tag editor issues with version 0.7.42) --- src/calibre/gui2/dialogs/tag_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/tag_editor.py b/src/calibre/gui2/dialogs/tag_editor.py index d4325354a1..6bd8eb7dbe 100644 --- a/src/calibre/gui2/dialogs/tag_editor.py +++ b/src/calibre/gui2/dialogs/tag_editor.py @@ -16,7 +16,7 @@ class TagEditor(QDialog, Ui_TagEditor): self.setupUi(self) self.db = db - self.index = db.row(id_) + self.index = db.row(id_) if id_ is not None else None if self.index is not None: tags = self.db.tags(self.index) else: