Default to show all cards until the user disables them.

This commit is contained in:
Jonathan Wong 2015-09-19 00:42:00 -07:00
parent d61e699dc9
commit de4d8fb277
6 changed files with 18 additions and 10 deletions

View file

@ -136,10 +136,9 @@ class DataFactory(object):
sort_type = 'total_plays' if stats_type == '0' else 'total_duration'
stats_queries = stats_cards.split(', ')
home_stats = []
for stat in stats_queries:
for stat in stats_cards:
if 'top_tv' in stat:
top_tv = []
try: