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.