mirror of
https://github.com/denizsafak/abogen.git
synced 2026-09-20 11:40:57 +02:00
fix: add missing imports for get_resource_path and load_integration_settings
This commit is contained in:
@@ -46,6 +46,8 @@ except ImportError:
|
|||||||
print("PyQt6 not installed.")
|
print("PyQt6 not installed.")
|
||||||
|
|
||||||
|
|
||||||
|
from abogen.utils import get_resource_path
|
||||||
|
|
||||||
# Pre-load "libxcb-cursor" on Linux (fixes #101)
|
# Pre-load "libxcb-cursor" on Linux (fixes #101)
|
||||||
if platform.system() == "Linux":
|
if platform.system() == "Linux":
|
||||||
arch = platform.machine().lower()
|
arch = platform.machine().lower()
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ from flask import Blueprint, current_app, render_template, request, redirect, ur
|
|||||||
from flask.typing import ResponseReturnValue
|
from flask.typing import ResponseReturnValue
|
||||||
|
|
||||||
from abogen.webui.routes.utils.settings import (
|
from abogen.webui.routes.utils.settings import (
|
||||||
|
load_integration_settings,
|
||||||
load_settings,
|
load_settings,
|
||||||
save_settings,
|
save_settings,
|
||||||
SAVE_MODE_LABELS,
|
SAVE_MODE_LABELS,
|
||||||
|
|||||||
Reference in New Issue
Block a user