Skip to content

Commit

Permalink
import idea
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed Aug 21, 2019
1 parent df1e79f commit 0bcc19c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buzzword/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from .parts import start, explore # noqa: F401
from .parts.main import server # noqa: F401
from .parts.main import CONFIG, CORPORA, CORPUS_META, INITIAL_TABLES, app
from .parts.main import CONFIG, CORPORA, CORPUS_META, app
from .parts.tabs import _make_tabs

# where downloadable CSVs/corpora get stored
Expand Down Expand Up @@ -48,6 +48,8 @@ def _make_explore_layout(slug, name):
"""
Simulate globals and generate layout for explore page
"""
from .parts.start import CORPORA, CORPUS_META, INITIAL_TABLES

corpus = CORPORA[slug]
size = CORPUS_META[name].get("len", len(corpus))
args = [CORPORA[slug], INITIAL_TABLES[slug], slug, name]
Expand Down

0 comments on commit 0bcc19c

Please sign in to comment.