From 9b277b29313f32a809e8b873f441bd055d5afb15 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 1 Nov 2021 03:23:46 +0000 Subject: [PATCH] updating cli.py --- tembo/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tembo/cli.py b/tembo/cli.py index 361243d..8b8d9af 100644 --- a/tembo/cli.py +++ b/tembo/cli.py @@ -114,7 +114,7 @@ def new(scope, inputs, dry_run, example): ) if _name_found: try: - scoped_page = pages.ScopedPageCreator().create_page(page_creator_options) + scoped_page = pages.ScopedPageCreator(page_creator_options).create_page() except exceptions.BasePathDoesNotExistError as base_path_does_not_exist_error: tembo.logger.critical(base_path_does_not_exist_error) raise SystemExit(1) from base_path_does_not_exist_error