From 0775bedd11dcff4e30c932d6dc4e4d3019719f6d Mon Sep 17 00:00:00 2001 From: JE-Chen <33644111+JE-Chen@users.noreply.github.com> Date: Sun, 5 Jan 2025 04:00:11 +0800 Subject: [PATCH] Fix import Fix import --- dev_requirements.txt | 1 + pyproject.toml | 2 +- test_pioneer/test_pioneer_editor_ui/menu/menu_utils.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dev_requirements.txt b/dev_requirements.txt index 3f2c0ef..8dfc69a 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -6,6 +6,7 @@ je-load-density je-auto-control je-web-runner je-mail-thunder +je_editor test_pioneer_dev sphinx sphinx-rtd-theme diff --git a/pyproject.toml b/pyproject.toml index 1a37f82..c69d81d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "test_pioneer_dev" -version = "0.0.38" +version = "0.0.39" authors = [ { name = "JE-Chen", email = "jechenmailman@gmail.com" }, ] diff --git a/test_pioneer/test_pioneer_editor_ui/menu/menu_utils.py b/test_pioneer/test_pioneer_editor_ui/menu/menu_utils.py index a68f996..574604d 100644 --- a/test_pioneer/test_pioneer_editor_ui/menu/menu_utils.py +++ b/test_pioneer/test_pioneer_editor_ui/menu/menu_utils.py @@ -2,7 +2,7 @@ from typing import TYPE_CHECKING -from je_editor import JEBrowser +from je_editor import BrowserWidget if TYPE_CHECKING: from test_pioneer.test_pioneer_editor_ui.editor_main.main_ui import AutomationEditor @@ -11,6 +11,6 @@ def open_web_browser( automation_editor_instance: AutomationEditor, url: str, tab_name: str) -> None: automation_editor_instance.tab_widget.addTab( - JEBrowser(start_url=url), + BrowserWidget(start_url=url), f"{tab_name}{automation_editor_instance.tab_widget.count()}" )