mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-17 22:43:23 +02:00
...
This commit is contained in:
parent
1b5a67bd49
commit
ca177e071b
1 changed files with 2 additions and 2 deletions
|
|
@ -790,9 +790,9 @@ def set_marked_ids(self, id_dict):
|
|||
# Simple list. Make it a dict of string 'true'
|
||||
self.marked_ids_dict = dict.fromkeys(id_dict, u'true')
|
||||
else:
|
||||
self.marked_ids_dict = id_dict.copy()
|
||||
# Ensure that all the items in the dict are text
|
||||
for id_,val in self.marked_ids_dict.iteritems():
|
||||
self.marked_ids_dict = {}
|
||||
for id_, val in id_dict.iteritems():
|
||||
self.marked_ids_dict[id_] = unicode(val)
|
||||
|
||||
# Set the values in the cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue