From 422f8f624ee2075b76a95e60188fcba86df02ba2 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 7 Sep 2025 20:42:23 +0000 Subject: [PATCH] fix volflag og_ua --- copyparty/httpcli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index d02efd0a..70eedbb1 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -6225,8 +6225,8 @@ class HttpCli(object): if add_og: if "th" in self.uparam or "raw" in self.uparam: og_ua = add_og = False - elif self.args.og_ua: - og_ua = add_og = self.args.og_ua.search(self.ua) + elif vn.flags["og_ua"]: + og_ua = add_og = vn.flags["og_ua"].search(self.ua) else: og_ua = False add_og = True