From 8f72dcd9a7a9323c31b0e53f6c62ee044053f766 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Thu, 13 Aug 2020 22:59:44 +0300 Subject: [PATCH] Commented out check_permissions() method --- Defs/ActionManager/simple_informant.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index f59357f..629d2c9 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -295,13 +295,13 @@ def verify_connection( verify_connection() -def check_permissions(): - if check_platform("system") == "Linux": - if getuid() == 0: - print(localization.lang_check_permissions["permissions_granted"]) - else: - print(localization.lang_check_permissions["permissions_denied"]) - exit() +# def check_permissions(): +# if check_platform("system") == "Linux": +# if getuid() == 0: +# print(localization.lang_check_permissions["permissions_granted"]) +# else: +# print(localization.lang_check_permissions["permissions_denied"]) +# exit() def check_php():