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:
parent
3653ef163f
commit
2a832bbadf
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue