Commented out check_permissions() method

This commit is contained in:
sTiKyt 2020-08-13 22:59:44 +03:00
parent ae96a7d302
commit 8f72dcd9a7
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

View File

@ -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():