mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update pyarmor_encoded_files.sh
This commit is contained in:
parent
e24b9706e5
commit
e066a4e99b
@ -28,7 +28,7 @@ is_pyarmor_encoded() {
|
|||||||
|
|
||||||
# Read the first line of the file and check for PyArmor
|
# Read the first line of the file and check for PyArmor
|
||||||
read -r first_line < "$file_path"
|
read -r first_line < "$file_path"
|
||||||
[[ "$first_line" == *"# PyArmor"* ]]
|
[[ "$first_line" == *"# Pyarmor"* ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Function to check if directory exists
|
# Function to check if directory exists
|
||||||
|
Loading…
Reference in New Issue
Block a user