Skip to content

Commit

Permalink
removed debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirek Simek committed Oct 5, 2020
1 parent 74e843d commit 5a2b5fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions oarepo_ui/facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@

class TranslatedFacet(dict):
def __init__(self, facet_val, label, value, translator, permissions):
if not isinstance(facet_val, dict):
import traceback
traceback.print_stack()
print(facet_val)
assert isinstance(facet_val, dict)
super().__init__(facet_val)
self.label = label
self.value = value
Expand Down

0 comments on commit 5a2b5fa

Please sign in to comment.