From c1bd8cbdece1be800518f5107cd35c8afcf50438 Mon Sep 17 00:00:00 2001 From: ZhaiSoul <842607283@qq.com> Date: Mon, 11 Aug 2025 06:10:36 +0000 Subject: [PATCH] chore: format --- frigate/util/downloader.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/frigate/util/downloader.py b/frigate/util/downloader.py index 58f039059..c44a17434 100755 --- a/frigate/util/downloader.py +++ b/frigate/util/downloader.py @@ -1,10 +1,9 @@ import logging import os -import socket import threading import time from pathlib import Path -from typing import Callable, List, Optional, Tuple +from typing import Callable, List, Tuple from urllib.parse import urlparse import requests @@ -26,8 +25,6 @@ MIRROR_MAPPING = { FORCE_OFFICIAL_SOURCE = False - - def set_force_official_source(force: bool = True) -> None: """ Set the global flag to force using only official sources.