From 0f5003dfddec7a1030b18baa52b9f7e3aed06374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deniz=20=C5=9Eafak?= Date: Thu, 23 Jul 2026 01:37:50 +0300 Subject: [PATCH] fix: add missing imports for get_resource_path and load_integration_settings --- abogen/pyqt/main.py | 2 ++ abogen/webui/routes/settings.py | 1 + 2 files changed, 3 insertions(+) diff --git a/abogen/pyqt/main.py b/abogen/pyqt/main.py index 9e11c0c..8371899 100644 --- a/abogen/pyqt/main.py +++ b/abogen/pyqt/main.py @@ -46,6 +46,8 @@ except ImportError: print("PyQt6 not installed.") +from abogen.utils import get_resource_path + # Pre-load "libxcb-cursor" on Linux (fixes #101) if platform.system() == "Linux": arch = platform.machine().lower() diff --git a/abogen/webui/routes/settings.py b/abogen/webui/routes/settings.py index ba4ea07..975cad4 100644 --- a/abogen/webui/routes/settings.py +++ b/abogen/webui/routes/settings.py @@ -7,6 +7,7 @@ from flask import Blueprint, current_app, render_template, request, redirect, ur from flask.typing import ResponseReturnValue from abogen.webui.routes.utils.settings import ( + load_integration_settings, load_settings, save_settings, SAVE_MODE_LABELS,