From 5659d1077867408eda6bf4e61010369a1a8d0a31 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Thu, 25 May 2023 22:06:37 -0400 Subject: [PATCH] remove unused function get_root() --- invokeai/backend/config/model_install_backend.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/invokeai/backend/config/model_install_backend.py b/invokeai/backend/config/model_install_backend.py index 3d17d4aaba..25510ab371 100644 --- a/invokeai/backend/config/model_install_backend.py +++ b/invokeai/backend/config/model_install_backend.py @@ -144,15 +144,6 @@ def yes_or_no(prompt: str, default_yes=True): else: return response[0] in ("y", "Y") - -# ------------------------------------- -def get_root(root: str = None) -> str: - if root: - return root - else: - return config.root_dir - - # --------------------------------------------- def recommended_datasets() -> dict: datasets = dict()