#3223: Trunk revision 13203 causes crash of gramplet surnamecloud
svn: r13220
This commit is contained in:
parent
62c1447001
commit
4e3ebe9db4
@ -111,7 +111,8 @@ class SurnameCloudGramplet(Gramplet):
|
||||
cloud_values.append( count )
|
||||
|
||||
cloud_names.sort(key=lambda k:k[1])
|
||||
counts = reversed(set(cloud_values))
|
||||
counts = list(set(cloud_values))
|
||||
counts.sort(reverse=True)
|
||||
line = 0
|
||||
### All done!
|
||||
# Now, find out how many we can display without going over top_size:
|
||||
|
Loading…
Reference in New Issue
Block a user