mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
modified + into append
This commit is contained in:
parent
23b65eddca
commit
dbc164f4e8
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def compute_progression(server, field_name, num_day, url_parsed):
|
|||
#Check value for all members
|
||||
member_set = []
|
||||
for keyw in server.smembers(redis_progression_name_set):
|
||||
member_set += (keyw, int(server.hget(redis_progression_name, keyw)))
|
||||
member_set.append((keyw, int(server.hget(redis_progression_name, keyw))))
|
||||
print member_set
|
||||
member_set.sort(key=lambda tup: tup[1])
|
||||
if member_set[0] < keyword_increase:
|
||||
|
|
Loading…
Reference in a new issue