-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global: dirmap for non local nor studio sites #746
Conversation
Site Sync addon throws ValueError for no local/studio sites as it doesn't make sense to override roots for sftp or gdrive. This handles gracefully this exception.
client/ayon_core/host/dirmap.py
Outdated
def _get_site_root_overrides( | ||
self, sitesync_addon, project_name, site_name): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def _get_site_root_overrides( | |
self, sitesync_addon, project_name, site_name): | |
def _get_site_root_overrides( | |
self, sitesync_addon, project_name, site_name | |
): |
But, shouldn't that be handled by sitesync addon? Asking for root overrides should return empty dict in that case, or? |
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Changelog Description
Site Sync addon throws ValueError for no local/studio sites as it doesn't make sense to override roots for sftp or gdrive. This handles gracefully this exception.
Testing notes: