Fixed NameError: name 'ARCH' is not defined on Raspberry Pi (#12421)

This commit is contained in:
Adrian Boguszewski 2022-08-11 10:15:23 +01:00 committed by GitHub
parent ed39903028
commit fe4e875586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ if machine == "x86_64" or machine == "AMD64":
ARCH = "intel64"
elif machine == "X86":
ARCH = "ia32"
elif machine == "arm":
elif machine == "arm" or machine == "armv7l":
ARCH = "arm"
elif machine == "aarch64":
ARCH = "arm64"