From b171c5b5051f815598152aaa4f9f451835375612 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 29 Oct 2019 09:16:11 -0600 Subject: [PATCH] update --- console_play.py | 2 +- story/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/console_play.py b/console_play.py index 640aacb..e7b1b96 100644 --- a/console_play.py +++ b/console_play.py @@ -123,7 +123,7 @@ def play_cached_hospital(): if __name__ == '__main__': - play_constrained() + play_unconstrained() diff --git a/story/utils.py b/story/utils.py index 17d224f..70d656c 100644 --- a/story/utils.py +++ b/story/utils.py @@ -11,7 +11,7 @@ def get_context(key): with open(YAML_FILE, 'r') as stream: data_loaded = yaml.safe_load(stream) - return data_loaded["context"][key] + return data_loaded["contexts"][key] def get_story_start(key): with open(YAML_FILE, 'r') as stream: