Skip to content

Commit

Permalink
worker problem?
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed Aug 21, 2019
1 parent 7ca888a commit c3c7f29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buzzword/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _choose_correct_page(pathname):
layout = _get_explore_layout(slug)
if layout:
return layout
pathname = ""
print("LAYOUT ERROR: ", slug, list(CORPORA.keys()))
if not pathname:
return start.layout
else:
Expand Down
4 changes: 2 additions & 2 deletions buzzword/parts/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def _get_specs_and_corpus(search_from, searches, corpora, slug):
corpora[slug] = loaded
# if the user wants the corpus, return that
if not int(search_from):
return slug, corpora[slug]
return slug, _get_corpus(slug)
# otherwise, get the search result (i.e. _n col) and make corpus
exists = searches[str(search_from)]
return exists, corpora[slug].iloc[exists[-1]]
return exists, _get_corpus(slug).iloc[exists[-1]]


def _tuple_or_list(this_identifier, typ):
Expand Down

0 comments on commit c3c7f29

Please sign in to comment.