mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
family widget get project name from dbcon.Session
This commit is contained in:
parent
2919a94932
commit
d8b1820d64
1 changed files with 4 additions and 1 deletions
|
|
@ -310,7 +310,10 @@ class FamilyWidget(QtWidgets.QWidget):
|
|||
|
||||
def refresh(self):
|
||||
has_families = False
|
||||
settings = get_project_settings(os.environ['AVALON_PROJECT'])
|
||||
project_name = self.dbcon.Session.get("AVALON_PROJECT")
|
||||
if not project_name:
|
||||
return
|
||||
settings = get_project_settings(project_name)
|
||||
sp_settings = settings.get('standalonepublisher', {})
|
||||
print(sp_settings)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue