diff --git a/files/initrd/opt/arc/include/functions.py b/files/initrd/opt/arc/include/functions.py index 380f61ba..f41e5cfe 100755 --- a/files/initrd/opt/arc/include/functions.py +++ b/files/initrd/opt/arc/include/functions.py @@ -210,8 +210,7 @@ def getmodelsbykb(platforms=None): @click.option("-m", "--model", type=str, required=True, help="The model of Syno.") @click.option("-v", "--version", type=str, required=True, help="The version of Syno.") def getpats4mv(model, version): - import json, requests, urllib3, re - from bs4 import BeautifulSoup + import json, requests, urllib3 from requests.adapters import HTTPAdapter from requests.packages.urllib3.util.retry import Retry # type: ignore