Added docstring

This commit is contained in:
Jacob Danell 2023-03-14 18:32:41 +01:00
parent 383ce7ccb6
commit c53e5b2302

View file

@ -23,6 +23,8 @@ class IntegrateKitsuNote(pyblish.api.ContextPlugin):
}
def safe_format(self, msg, **kwargs):
"""If key is not found in kwargs, set None instead"""
def replace_missing(match):
value = kwargs.get(match.group(1), None)
if value is None: