Skip to content

Commit

Permalink
chore: Remove braces from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 2, 2024
1 parent d50a6b7 commit feb4b60
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions data_registry/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ def facet_counts(qs, key):
exclude[count] = 0

facets = {
"letters": {dict.fromkeys(alphabets[language_code], 0)},
"date_ranges": {dict.fromkeys(date_ranges, 0)},
"frequencies": {dict.fromkeys(Collection.UpdateFrequency.values, 0)},
"regions": {dict.fromkeys(Collection.Region.values, 0)},
"counts": {dict.fromkeys(counts, 0)},
"letters": dict.fromkeys(alphabets[language_code], 0),
"date_ranges": dict.fromkeys(date_ranges, 0),
"frequencies": dict.fromkeys(Collection.UpdateFrequency.values, 0),
"regions": dict.fromkeys(Collection.Region.values, 0),
"counts": dict.fromkeys(counts, 0),
}
for value, n in facet_counts(qs, "letter"):
facets["letters"][value] = n
Expand Down

0 comments on commit feb4b60

Please sign in to comment.