1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-02-02 09:47:13 +03:00

chore: Update logger level in dispatcher.py

This commit is contained in:
Adolfo Gómez García 2024-09-04 19:41:08 +02:00
parent 20496327bb
commit 8e5418d792
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -278,7 +278,7 @@ class Dispatcher(View):
def checker(x: type[Handler]) -> bool:
# only register if final class, no classes that have subclasses
logger.info(
logger.debug(
'Checking %s - %s - %s', x.__name__, issubclass(x, DetailHandler), x.__subclasses__() == []
)
return not issubclass(x, DetailHandler) and not x.__subclasses__()