Skip to content

Commit

Permalink
[stats plugin] Skip None when sorting names.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfit committed Nov 19, 2017
1 parent 762a0f4 commit 0c8be9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eyed3/plugins/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def keyDisplayName(k):
key_map[keyDisplayName(k)] = k

if not most_common:
sorted_names = list(key_map.keys())
sorted_names = [k for k in key_map.keys() if k]
sorted_names.remove(self.TOTAL)
sorted_names.sort()
sorted_names.append(self.TOTAL)
Expand Down

0 comments on commit 0c8be9e

Please sign in to comment.