diff --git a/TrustnGO/01_aws_connect/notebook/TNGTLS_aws_connect.ipynb b/TrustnGO/01_aws_connect/notebook/TNGTLS_aws_connect.ipynb index 9433cfd..38165ea 100644 --- a/TrustnGO/01_aws_connect/notebook/TNGTLS_aws_connect.ipynb +++ b/TrustnGO/01_aws_connect/notebook/TNGTLS_aws_connect.ipynb @@ -134,7 +134,6 @@ "source": [ "def execute_manifest_upload(b):\n", " check_and_install_policy('Default')\n", - " sys_helper.run_subprocess_cmd(cmd=[\"aws\", \"configure\", \"add-model\", \"--service-model\", \"file://iot2_model.json\", \"--service-name\", \"iot2\"])\n", " if not manifest_file.data or not validation_cert.data:\n", " print('Step2a & Step2b should be executed first before proceeding to this step\\r\\n')\n", " return None\n", @@ -213,7 +212,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.7.4" + "version": "3.6.4" } }, "nbformat": 4, diff --git a/assets/gui/main.py b/assets/gui/main.py index cc1c3d3..de5cff4 100644 --- a/assets/gui/main.py +++ b/assets/gui/main.py @@ -87,7 +87,7 @@ def open_local_page(self, page_addr): json_file = SettingsJson() repo_path = json_file.get_repo_path() full_path = os.path.join(repo_path, page_addr) - open_local_link(full_path) + self.open_local_link(full_path) def invalid_page(self): QtWidgets.QMessageBox.about(