mirror of https://github.com/CIRCL/AIL-framework
fix duplicate
parent
8a87b7b082
commit
93dcdf4f23
|
@ -340,7 +340,7 @@ class Paste(object):
|
|||
Save a new duplicate on others pastes
|
||||
"""
|
||||
for hash_type, path, percent, date in list_value:
|
||||
to_add = [hash_type, self.p_path, percent, date]
|
||||
to_add = (hash_type, self.p_path, percent, date)
|
||||
self.store_duplicate.sadd('dup:'+path,to_add)
|
||||
|
||||
def _get_from_redis(self, r_serv):
|
||||
|
|
Loading…
Reference in New Issue