diff --git a/openpype/modules/default_modules/shotgrid/lib/server.py b/openpype/modules/default_modules/shotgrid/lib/server.py index 1dd18f8cf62..c9e7ffacf63 100644 --- a/openpype/modules/default_modules/shotgrid/lib/server.py +++ b/openpype/modules/default_modules/shotgrid/lib/server.py @@ -28,7 +28,6 @@ def check_batch_settings( ) -> bool: module_url = _format_url(settings_lib.get_module_server_url()) api_url = "/".join([module_url, "batch", "check"]) - print(api_url) params = { "shotgrid_url": url, "shotgrid_project_id": project_id, diff --git a/openpype/modules/default_modules/shotgrid/manager/index.html b/openpype/modules/default_modules/shotgrid/manager/index.html index 8e113e006a7..96ce38af784 100644 --- a/openpype/modules/default_modules/shotgrid/manager/index.html +++ b/openpype/modules/default_modules/shotgrid/manager/index.html @@ -6,8 +6,13 @@ + + + + @@ -119,11 +124,18 @@ + + + + + + + diff --git a/openpype/modules/default_modules/shotgrid/manager/js/manager.js b/openpype/modules/default_modules/shotgrid/manager/js/manager.js index f5b86533dd1..801606f14f5 100644 --- a/openpype/modules/default_modules/shotgrid/manager/js/manager.js +++ b/openpype/modules/default_modules/shotgrid/manager/js/manager.js @@ -48,7 +48,9 @@ function onBatchSelectorChange(event) { function onBatchSubmit(event) { batchWorking(); checkBatchValues().then((project_name) => { + console.log("check OK") SendBatch(project_name).then(() => { + console.log("batch OK") printInfo("Batch sent successfully"); batchEndWorking(); event.stopPropagation() @@ -93,6 +95,7 @@ function fillProjectsSelector(projectList) { function checkBatchValues() { infos = getBatchInfos(); + console.log("check batch") return new Promise((success, failure) => { window.pywebview.api.checkProjectSettings( infos['url'], @@ -116,6 +119,7 @@ function SendBatch(projectName) { if (!newProject) { projectName = infos['project'] } + console.log("send batch") return new Promise((success, failure) => { var fieldsMapping; try {