use f-string

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Trllo 2024-03-27 13:59:04 +01:00 committed by GitHub
parent 54406c0489
commit 87205c5f8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2156,7 +2156,7 @@ def get_related_sets(node):
s for s in sets
if (
not cmds.attributeQuery("id", node=s, exists=True)
or cmds.getAttr("%s.id" % s) not in ignored
or cmds.getAttr(f"{s}.id") not in ignored
)
]