From edc4119bf7ac30129697126ddaf3d0ccd2eadf5f Mon Sep 17 00:00:00 2001 From: keyboard-slayer Date: Mon, 29 May 2023 18:03:08 +0200 Subject: [PATCH] fix: error when no template is provided to initCmd --- cutekit/cmds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutekit/cmds.py b/cutekit/cmds.py index 6d35ff0..42aa405 100644 --- a/cutekit/cmds.py +++ b/cutekit/cmds.py @@ -241,7 +241,7 @@ def initCmd(args: Args): template = args.consumeArg() if template is None: - template = "default" + raise RuntimeError("No template was provided") repo = const.DEFAULT_REPO_TEMPLATES if not "repo" in args.opts else args.opts["repo"] list = "list" in args.opts