Don't warn about missing readers in blend2asserts

It's still logged at debug level, but it's aimed at developers and not
artists/end users.
This commit is contained in:
Sybren A. Stüvel 2018-03-02 15:45:26 +01:00
parent 8009ff1e47
commit f2694df602

View File

@ -25,7 +25,7 @@ def iter_assets(block: blendfile.BlendFileBlock) -> typing.Iterator[result.Block
block_reader = _funcs_for_code[block.code]
except KeyError:
if block.code not in _warned_about_types:
log.warning('No reader implemented for block type %r', block.code.decode())
log.debug('No reader implemented for block type %r', block.code.decode())
_warned_about_types.add(block.code)
return