From 93dcdf4f23a62fccc919bd70c2ed7c3b59ca7ccf Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 31 May 2018 09:01:47 +0200 Subject: [PATCH] fix duplicate --- bin/packages/Paste.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/packages/Paste.py b/bin/packages/Paste.py index ccaf3400..317743f4 100755 --- a/bin/packages/Paste.py +++ b/bin/packages/Paste.py @@ -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):