Browse Source

fix incorrect pybind11 type check

Signed-off-by: Alex Peterson <[email protected]>
Alex Peterson 2 years ago
parent
commit
b3c1bb6d7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Code/Tools/ProjectManager/Source/PythonBindings.cpp

+ 1 - 1
Code/Tools/ProjectManager/Source/PythonBindings.cpp

@@ -1531,7 +1531,7 @@ namespace O3DE::ProjectManager
                     "repo_uri"_a = QString_To_Py_String(repoUri), "enabled_only"_a = enabledOnly
                     );
 
-                if (pybind11::isinstance<pybind11::set>(pyTemplates))
+                if (pybind11::isinstance<pybind11::list>(pyTemplates))
                 {
                     for (auto pyTemplateJsonData : pyTemplates)
                     {