Format with black

This commit is contained in:
AppleTheGolden 2025-09-22 17:01:24 +02:00
parent 7559e7b2e6
commit 38fd7372cc
No known key found for this signature in database
GPG key ID: F6AC8A62154C42AA

View file

@ -6571,7 +6571,6 @@ class HttpCli(object):
no_zip = bool(self._can_zip(vf))
dirs = []
files = []
ptn_hr = RE_HR
@ -6852,7 +6851,9 @@ class HttpCli(object):
allowed_exts = vf.get("opds_exts") or self.args.opds_exts
if allowed_exts:
files = [x for x in files if x["name"].rsplit(".", 1)[-1] in allowed_exts]
files = [
x for x in files if x["name"].rsplit(".", 1)[-1] in allowed_exts
]
for item in dirs:
href = item["href"]
href += ("&" if "?" in href else "?") + "opds"