Skip to content

Commit

Permalink
Fix Java syntax in Python code :S
Browse files Browse the repository at this point in the history
  • Loading branch information
RodoMa92 authored Aug 26, 2023
1 parent 60d2a0a commit 8e016dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/localplatform.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def get_log_level() -> int:
def get_selinux() -> bool:
if ON_LINUX:
from subprocess import check_output
check_output("getenforce").decode("ascii").strip("\n") == "Enforcing" ? True : False
return True if (check_output("getenforce").decode("ascii").strip("\n") == "Enforcing") else return False
else:
return False

0 comments on commit 8e016dc

Please sign in to comment.