From 92a68937326727e351483ff15f41a1ca2cb89e7c Mon Sep 17 00:00:00 2001 From: VAN BOSSUYT Nicolas Date: Sun, 3 Sep 2023 17:41:16 +0200 Subject: [PATCH] fix: Don't include request at the top level. --- cutekit/cmds.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cutekit/cmds.py b/cutekit/cmds.py index 6f7f5ac..a36a927 100644 --- a/cutekit/cmds.py +++ b/cutekit/cmds.py @@ -1,6 +1,5 @@ import os import logging -import requests import sys from typing import Callable, cast, Optional, NoReturn @@ -237,6 +236,8 @@ cmds += [Cmd("i", "install", "Install all the external packages", installCmd)] def initCmd(args: Args): + import requests + repo = args.consumeOpt('repo', const.DEFAULT_REPO_TEMPLATES) list = args.consumeOpt('list')