mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
fix duplicate
This commit is contained in:
parent
8a87b7b082
commit
93dcdf4f23
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue