This commit is contained in:
Saifeddine ALOUI 2024-06-08 00:23:23 +02:00
parent 67019206b8
commit b2cd792808

View File

@ -287,7 +287,8 @@ class LOLLMSWebUI(LOLLMSElfServer):
def run_update_script(self, args=None):
# deactivate trust store for github and pip package install
del os.environ['REQUESTS_CA_BUNDLE']
if 'REQUESTS_CA_BUNDLE' in os.environ:
del os.environ['REQUESTS_CA_BUNDLE']
update_script = Path(__file__).parent/"update_script.py"
# Convert Namespace object to a dictionary