From 606972d8c1cff001194922b3273816c241872abe Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Mon, 11 May 2020 13:10:39 +0300 Subject: [PATCH] Added additional check for license (Just in case, may remove later) --- HiddenEye.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/HiddenEye.py b/HiddenEye.py index f79bdc3..9e68510 100755 --- a/HiddenEye.py +++ b/HiddenEye.py @@ -4,8 +4,6 @@ # This is free software, and you are welcome to redistribute it # under certain conditions; you can read LICENSE for details. # - - from Defs.Checks import * from os import system, environ import Defs.ActionManager.main_runner as main_runner @@ -20,10 +18,14 @@ import sys import ssl +simple_informant.license_handler() +agreement = simple_informant.terms_of_service_message() +if agreement != True: + exit() + if(not environ.get('PYTHONHTTPSVERIFY', "") and getattr(ssl, '_create_unverified_context', None)): ssl._create_default_https_context = ssl._create_unverified_context - checkPermissions() checkConnection() verCheck()