Fix type checking error in recent fix for #110464

Correct type check from dce2368b8c.
This commit is contained in:
Campbell Barton 2023-08-12 18:41:23 +10:00 • committed by Philipp Oeser
parent 08bff72a0a
commit 65f38fa010

View file

@ -88,7 +88,7 @@ def rna_idprop_ui_create(
ui_data = item.id_properties_ui(prop)
proptype, _ = rna_idprop_value_item_type(default)
if proptype is bool or str:
if (proptype is bool) or (proptype is str):
ui_data = item.id_properties_ui(prop)
ui_data.update(
description=description,