diff --git a/nflgame/__init__.py b/nflgame/__init__.py index 18494353..db887fbe 100644 --- a/nflgame/__init__.py +++ b/nflgame/__init__.py @@ -309,7 +309,7 @@ def one(year, week, home, away, kind='REG', started=False): if not infos: return None assert len(infos) == 1, 'More than one game matches the given criteria.' - return nflgame.game.Game(**infos[0]) + return game.Game(**infos[0]) def combine(games, plays=False): @@ -391,7 +391,7 @@ def combine_plays(games): as if it were a single game. """ chain = itertools.chain(*[g.drives.plays() for g in games]) - return nflgame.seq.GenPlays(chain) + return seq.GenPlays(chain) def _search_schedule(year=None, week=None, home=None, away=None, kind='REG',