From 3f7b7a7ae6e79ab5c038194c5be241cd58a26781 Mon Sep 17 00:00:00 2001 From: Titusz Pan Date: Sat, 19 Oct 2024 18:43:45 +0200 Subject: [PATCH] Add log output to turbo check function --- iscc_core/check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iscc_core/check.py b/iscc_core/check.py index f422d41..f7f5242 100644 --- a/iscc_core/check.py +++ b/iscc_core/check.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- """Inspect lib environment/installation""" import inspect +from loguru import logger as log __all__ = ["turbo"] @@ -14,6 +15,7 @@ def turbo(): # pragma: no cover modules = (cdc, minhash, simhash, dct, wtahash) for module in modules: module_file = inspect.getfile(module) + log.debug(f"Module {module.__name__} file: {module_file}") if module_file.endswith(".py"): return False return True