mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Merge pull request #761 from DarkSecDevelopers/restyled/dev
Restyle Merge Dev to Master
This commit is contained in:
commit
feef36dd14
|
@ -43,10 +43,13 @@ class EULAController:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def confirm_eula(self):
|
def confirm_eula(self):
|
||||||
print(f'{self.license.read()}\n{EULAView().EULA_messages["eula_power_and_responsibility_message"]}\n')
|
print(
|
||||||
|
f'{self.license.read()}\n{EULAView().EULA_messages["eula_power_and_responsibility_message"]}\n')
|
||||||
print(EULAView().EULA_messages["eula_full_disclaimer"])
|
print(EULAView().EULA_messages["eula_full_disclaimer"])
|
||||||
print(f'{EULAView().EULA_messages["eula_do_you_accept"]} \n\n{EULAView().EULA_messages["eula_enter_to_continue"]}\n')
|
print(
|
||||||
answer = input(EULAView().EULA_messages["eula_input_prompt"]).lower().replace(" ", "")
|
f'{EULAView().EULA_messages["eula_do_you_accept"]} \n\n{EULAView().EULA_messages["eula_enter_to_continue"]}\n')
|
||||||
|
answer = input(
|
||||||
|
EULAView().EULA_messages["eula_input_prompt"]).lower().replace(" ", "")
|
||||||
if answer == "iaccepteula":
|
if answer == "iaccepteula":
|
||||||
eula_temp_input = open(self.eula, "rt")
|
eula_temp_input = open(self.eula, "rt")
|
||||||
eula_temp_data = eula_temp_input.read().replace(
|
eula_temp_data = eula_temp_input.read().replace(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user