Update app.py

This commit is contained in:
Saifeddine ALOUI 2023-11-07 09:16:46 +01:00 committed by GitHub
parent 43f9488beb
commit 479329fd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ class LollmsApplication:
ASCIIColors.info("Lollms_core found in the app space.\nPulling last lollms_core")
subprocess.run(["git", "-C", self.lollms_paths.lollms_core_path, "pull"])
if self.lollms_paths.safe_store_path.exists():
ASCIIColors.info("Lollms_core found in the app space.\nPulling last lollms_core")
ASCIIColors.info("safe_store_path found in the app space.\nPulling last safe_store_path")
subprocess.run(["git", "-C", self.lollms_paths.safe_store_path, "pull"])
# Pull the repository if it already exists