mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 19:43:37 +02:00
Fix #8558 (Tag editor issues with version 0.7.42)
This commit is contained in:
parent
2fad5774e7
commit
e1ebc4946f
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ def __init__(self, window, db, id_=None):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue