From 25d0a8955b4c6d4da60856bb113fcdc471096928 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Thu, 13 Aug 2020 13:27:15 +0300 Subject: [PATCH] Renamed eula_start_of_file to eula_start_of_file_unconfirmed --- controllers/EULA_controller.py | 2 +- views/EULA_view.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/EULA_controller.py b/controllers/EULA_controller.py index cdaa79f..59c6297 100644 --- a/controllers/EULA_controller.py +++ b/controllers/EULA_controller.py @@ -25,7 +25,7 @@ class EULAController: text_license = self.license.read() with open(str(self.eula), 'w+') as temp_eula: chmod(self.eula, 0o777) - temp_eula.write("{0}\n{1}".format(EULAView().EULA_messages["eula_start_of_file"], text_license)) + temp_eula.write("{0}\n{1}".format(EULAView().EULA_messages["eula_start_of_file_unconfirmed"], text_license)) temp_eula.close() def check_eula_confirmation(self): diff --git a/views/EULA_view.py b/views/EULA_view.py index 0cb0955..e57596a 100644 --- a/views/EULA_view.py +++ b/views/EULA_view.py @@ -9,5 +9,5 @@ class EULAView: "eula_is_not_confirmed": _("You didn't accept EULA, please open eula.txt"), "eula_not_found": _("EULA isn't found"), "eula_is_invalid": _("EULA is not valid"), - "eula_start_of_file": _("# Please read and accept EULA below\n eula = False") + "eula_start_of_file_unconfirmed": _("# Please read and accept EULA below\n eula = False"), }