From ed3be446f22921ee83f269380e4466741475c65f Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 24 Aug 2025 19:35:03 -0400 Subject: [PATCH] no log: prevent validator issue when user_id is an int() --- bazarr/app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/app/config.py b/bazarr/app/config.py index 6e1409382..4bb4dd88c 100644 --- a/bazarr/app/config.py +++ b/bazarr/app/config.py @@ -248,7 +248,7 @@ validators = [ Validator('plex.token', must_exist=True, default='', is_type_of=str), Validator('plex.username', must_exist=True, default='', is_type_of=str), Validator('plex.email', must_exist=True, default='', is_type_of=str), - Validator('plex.user_id', must_exist=True, default='', is_type_of=str), + Validator('plex.user_id', must_exist=True, default='', is_type_of=(int, str)), Validator('plex.auth_method', must_exist=True, default='apikey', is_type_of=str, is_in=['apikey', 'oauth']), Validator('plex.encryption_key', must_exist=True, default='', is_type_of=str), Validator('plex.server_machine_id', must_exist=True, default='', is_type_of=str),