mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
Remove deprecated AVALON_ACTIONS
This commit is contained in:
parent
4848d95dbc
commit
0b36cbc5ec
1 changed files with 0 additions and 14 deletions
|
|
@ -37,20 +37,6 @@ class LauncherAction(AYONAddon, ITrayAction):
|
|||
if path and os.path.exists(path):
|
||||
register_launcher_action_path(path)
|
||||
|
||||
paths_str = os.environ.get("AVALON_ACTIONS") or ""
|
||||
if paths_str:
|
||||
self.log.warning(
|
||||
"WARNING: 'AVALON_ACTIONS' is deprecated. Support of this"
|
||||
" environment variable will be removed in future versions."
|
||||
" Please consider using 'OpenPypeModule' to define custom"
|
||||
" action paths. Planned version to drop the support"
|
||||
" is 3.17.2 or 3.18.0 ."
|
||||
)
|
||||
|
||||
for path in paths_str.split(os.pathsep):
|
||||
if path and os.path.exists(path):
|
||||
register_launcher_action_path(path)
|
||||
|
||||
def on_action_trigger(self):
|
||||
"""Implementation for ITrayAction interface.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue