mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
removed SaveSettingsValidation from settings init
This commit is contained in:
parent
9ac5427aaf
commit
cc3f483aec
2 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
from .exceptions import (
|
||||
SaveWarning,
|
||||
SaveSettingsValidation
|
||||
SaveWarning
|
||||
)
|
||||
from .lib import (
|
||||
get_system_settings,
|
||||
|
|
@ -17,7 +16,6 @@ from .entities import (
|
|||
|
||||
__all__ = (
|
||||
"SaveWarning",
|
||||
"SaveSettingsValidation",
|
||||
|
||||
"get_system_settings",
|
||||
"get_project_settings",
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ class SaveWarning(SaveSettingsValidation):
|
|||
if isinstance(warnings, str):
|
||||
warnings = [warnings]
|
||||
self.warnings = warnings
|
||||
msg = ", ".join(warnings)
|
||||
msg = " | ".join(warnings)
|
||||
super(SaveWarning, self).__init__(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue