From 44ad5cc34d7f880cdf37e766b7ff79d60987df33 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 11 Aug 2020 20:18:17 +0300 Subject: [PATCH] Replaced part of Legacy code with EULAController --- HiddenEye.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/HiddenEye.py b/HiddenEye.py index 6b4fe35..0168d13 100755 --- a/HiddenEye.py +++ b/HiddenEye.py @@ -12,14 +12,17 @@ import Defs.ActionManager.main_runner as main_runner import Defs.ActionManager.Server.server_runner as server_runner import Defs.ActionManager.simple_informant as simple_informant import Defs.FeatureManager.feature_prompt as prompt +from controllers.EULA_controller import EULAController # simple_informant.license_handler() # agreement = simple_informant.terms_of_service_message() # if not agreement: # exit() # TODO replace everything above - - +if EULAController().check_eula_existence() is False: + EULAController().generate_new_eula() +if EULAController().check_eula_confirmation() is False: + exit() # FIXME new code above