mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Log a warning
This commit is contained in:
parent
3046044053
commit
ecfb972332
1 changed files with 4 additions and 0 deletions
|
|
@ -292,6 +292,10 @@ class DeliveryOptionsDialog(QtWidgets.QDialog):
|
|||
for template_name, value in anatomy.templates["delivery"].items():
|
||||
directory_template = value["directory"]
|
||||
if not directory_template.startswith("{root"):
|
||||
self.log.warning(
|
||||
"Skipping template '%s' because directory template does "
|
||||
"not start with `{root`", template_name
|
||||
)
|
||||
continue
|
||||
|
||||
templates[template_name] = value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue