mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
cleanup comments
This commit is contained in:
parent
22d9260386
commit
c7f80beb48
@ -18,7 +18,7 @@ def check_cpu_has_avx() -> bool:
|
|||||||
bool: True if CPU has AVX support, False otherwise
|
bool: True if CPU has AVX support, False otherwise
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
# Try Linux method first (most common for Frigate)
|
# Try Linux method first
|
||||||
if sys.platform.startswith("linux"):
|
if sys.platform.startswith("linux"):
|
||||||
with open("/proc/cpuinfo", "r") as f:
|
with open("/proc/cpuinfo", "r") as f:
|
||||||
cpuinfo = f.read().lower()
|
cpuinfo = f.read().lower()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user