no log: update log call for update_pools() decorator

This commit is contained in:
Vitiko 2022-01-02 16:47:15 -04:00
parent 3653ef163f
commit 2a832bbadf
1 changed files with 4 additions and 1 deletions

View File

@ -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)