Lint
This commit is contained in:
parent
814520fed1
commit
019371c0b6
3 changed files with 1 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
|||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
from modules.logging_colors import logger
|
||||
|
||||
new_extensions = set()
|
||||
|
||||
|
||||
|
@ -34,7 +32,7 @@ def clone_or_pull_repository(github_url):
|
|||
yield f"Cloning {github_url}..."
|
||||
clone_output = subprocess.check_output(["git", "clone", github_url, repo_path], stderr=subprocess.STDOUT)
|
||||
new_extensions.add(repo_name)
|
||||
yield(f"The extension `{repo_name}` has been downloaded.\n\nPlease close the the web UI completely and launch it again to be able to load it.")
|
||||
yield f"The extension `{repo_name}` has been downloaded.\n\nPlease close the the web UI completely and launch it again to be able to load it."
|
||||
return clone_output.decode()
|
||||
except subprocess.CalledProcessError as e:
|
||||
return str(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue