devve1 commited on
Commit
56cd1e8
1 Parent(s): 11b4261

Update ordered_multimap.py

Browse files
Files changed (1) hide show
  1. ordered_multimap.py +1 -1
ordered_multimap.py CHANGED
@@ -14,7 +14,7 @@ class OrderedMultiIndexMapWeakRef:
14
 
15
  def insert(self, id, text, title: str, sub_title: str):
16
  self.data.append(text)
17
- self.ids.append(id)
18
  self.index_list.append(WeakValueDictionary({'title': StringWrapper(title), 'sub_title': StringWrapper(sub_title)}))
19
 
20
  def all_ids(self):
 
14
 
15
  def insert(self, id, text, title: str, sub_title: str):
16
  self.data.append(text)
17
+ self.ids.append(id.int)
18
  self.index_list.append(WeakValueDictionary({'title': StringWrapper(title), 'sub_title': StringWrapper(sub_title)}))
19
 
20
  def all_ids(self):