Fix missing check for debug print

This commit is contained in:
Campbell Barton
2024-07-11 14:22:49 +10:00
parent d13da71db4
commit 9ffc973918

View File

@@ -864,7 +864,8 @@ def _extension_compat_cache_create(
try:
bl_pkg.__time__ = os.path.getmtime(bl_pkg.__file__)
except Exception as ex:
print_debug(str(ex))
if print_debug is not None:
print_debug(str(ex))
if (error := bl_pkg.manifest_compatible_with_wheel_data_or_error(
pkg_manifest_filepath,