1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-27 01:57:33 +00:00

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

View file

@ -151,7 +151,10 @@ def update_pools(f):
updated = _update_pool(args[args_spec.index("media_type")], profile_id) updated = _update_pool(args[args_spec.index("media_type")], profile_id)
if updated: 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) return f(*args, **kwargs)