Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
use 'get_current_project_settings' instead of 'get_project_settings' …
Browse files Browse the repository at this point in the history
…in pyblish pype
  • Loading branch information
iLLiCiTiT committed Oct 4, 2022
1 parent cb7862f commit 13a53e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpype/tools/pyblish_pype/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from . import util
from .constants import InstanceStates

from openpype.settings import get_project_settings
from openpype.settings import get_current_project_settings


class IterationBreak(Exception):
Expand Down Expand Up @@ -204,7 +204,7 @@ def current_state(self):

def presets_by_hosts(self):
# Get global filters as base
presets = get_project_settings(os.environ['AVALON_PROJECT']) or {}
presets = get_current_project_settings()
if not presets:
return {}

Expand Down

0 comments on commit 13a53e3

Please sign in to comment.