From 489e1e7b0ac7c2698becbce38cba72bd67eeac04 Mon Sep 17 00:00:00 2001 From: adator <85586985+adator85@users.noreply.github.com> Date: Sun, 1 Sep 2024 13:47:18 +0200 Subject: [PATCH] . --- core/installation.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/installation.py b/core/installation.py index 790e079..7d0f446 100644 --- a/core/installation.py +++ b/core/installation.py @@ -30,15 +30,16 @@ class Install: self.set_configuration() - if self.skip_install: - return None - - self.Logs.debug(f'Configuration loaded : {self.config}') - if not self.check_python_version(): # Tester si c'est la bonne version de python exit("Python Version Error") else: + + if self.skip_install: + return None + + self.Logs.debug(f'Configuration loaded : {self.config}') + # Sinon tester les dependances python et les installer avec pip if self.do_install():