mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Added docstring
This commit is contained in:
parent
383ce7ccb6
commit
c53e5b2302
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue