fix location of id
This commit is contained in:
parent
b0a6728927
commit
9365cf026a
|
@ -60,5 +60,5 @@ class BasePublication(object):
|
|||
break
|
||||
previous_result = brains
|
||||
del topics[random.randint(0, len(topics)-1)]
|
||||
doc_ids = [self.context.id]
|
||||
doc_ids = [self.id]
|
||||
return [x for x in r if ((type(x.getId) is str) and x.getId or x.getId()) not in doc_ids]
|
||||
|
|
Reference in New Issue