Extension Install Error Fix

Extensions which have a install.py fail to install if we use a separate data directory and provide relative path like "--data-dir=../../SD-Data". Using realpath method to absolute path of installation script fixes the issue.
This commit is contained in:
Shivam Kumar
2023-06-22 21:26:46 +05:30
committed by GitHub
parent 91e65fd3c5
commit 6c4c67a97e
+1 -1
View File
@@ -444,7 +444,7 @@ def install_repositories():
# run extension installer
def run_extension_installer(folder):
path_installer = os.path.join(folder, "install.py")
path_installer = os.path.realpath(os.path.join(folder, "install.py"))
if not os.path.isfile(path_installer):
return
try: