Skip to content

Commit

Permalink
insanity coming
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed Apr 20, 2020
1 parent 5e7d37d commit 527f4d9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions explorer/parts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ def load_layout(slug, set_and_register=True, django=True):

conf = CORPORA_CONFIGS[slug]
# store the default explore for each corpus in a dict for speed
if slug in LAYOUTS:
layout = LAYOUTS[slug]
else:
# if slug in LAYOUTS:
# layout = LAYOUTS[slug]
# else:
if True:
corpus = _get_corpus(slug)
table = _get_initial_table(slug, conf)
conf["length"] = conf.get("length", len(corpus))
Expand Down

0 comments on commit 527f4d9

Please sign in to comment.