mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +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
|
||||
"""
|
||||
try:
|
||||
# Try Linux method first (most common for Frigate)
|
||||
# Try Linux method first
|
||||
if sys.platform.startswith("linux"):
|
||||
with open("/proc/cpuinfo", "r") as f:
|
||||
cpuinfo = f.read().lower()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user