mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix str type check
This commit is contained in:
parent
085c054672
commit
12f31cae95
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ class FormattingPart:
|
|||
return True
|
||||
|
||||
for inh_class in type(value).mro():
|
||||
if inh_class in str:
|
||||
if isinstance(inh_class, str):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue