From 66ebe059086d0efaa93e2fc694eae08a5b08e0db Mon Sep 17 00:00:00 2001 From: Mathieu Broillet Date: Mon, 25 Aug 2025 18:27:32 +0200 Subject: [PATCH] fixed None type error on xplexproduct --- main_app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main_app.py b/main_app.py index 2337c78..4629a61 100644 --- a/main_app.py +++ b/main_app.py @@ -138,8 +138,7 @@ async def fake_user_json_or_signin(request: Request, _=host_required([Hosts.CLIE "plan": "monthly", "paymentNotificationId": "1234567", "canUpgrade": True, - "features": PLEXAMP_FEATURES if "plexamp" in request.headers.get( - "X-Plex-Product").lower() else FEATURES_DICT + "features": PLEXAMP_FEATURES if "plexamp" in request.headers.get("X-Plex-Product", "").lower() else FEATURES_DICT }, "subscriptions": [ {