Merge remote-tracking branch 'origin/feature/OP-2951_Download-all-workfile-inputs' into feature/OP-2951_Download-all-workfile-inputs

This commit is contained in:
Petr Kalis 2022-04-08 12:38:56 +02:00
commit 007e47b6ca

View file

@ -1996,8 +1996,7 @@ def get_linked_ids_for_representations(project_name, repre_ids, dbcon=None,
# Make sure is installed
dbcon.install()
if dbcon.Session["AVALON_PROJECT"] != project_name:
dbcon.Session["AVALON_PROJECT"] = project_name
dbcon.Session["AVALON_PROJECT"] = project_name
if not isinstance(repre_ids, list):
repre_ids = [repre_ids]