mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
OP-2403 - use default username if not found
This commit is contained in:
parent
9931a35542
commit
3dbe58a10e
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ class CollectUsername(pyblish.api.ContextPlugin):
|
|||
if not user_email:
|
||||
# for basic webpublishes
|
||||
for instance in context:
|
||||
email = instance.data["user_email"]
|
||||
self.log.debug("Email from instance:: {}".format(email))
|
||||
user_email = instance.data.get("user_email")
|
||||
self.log.debug("Email from instance:: {}".format(user_email))
|
||||
break
|
||||
|
||||
if not user_email:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue