From 2a832bbadf1797b39e7ed06ced45ba648036ba99 Mon Sep 17 00:00:00 2001 From: Vitiko Date: Sun, 2 Jan 2022 16:47:15 -0400 Subject: [PATCH] no log: update log call for update_pools() decorator --- bazarr/get_subtitle.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 25336c44b..97ae295f2 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -151,7 +151,10 @@ def update_pools(f): updated = _update_pool(args[args_spec.index("media_type")], profile_id) if updated: - logging.info("BAZARR pools update elapsed time: %s", time.time() - start) + logging.debug( + "BAZARR pools update elapsed time: %sms", + round((time.time() - start) * 1000, 2), + ) return f(*args, **kwargs)