commit e100f8f13782dc29e65390ee56c7c550597d724b parent f8478853855bf8c2a8363dd0f8978f8f28456304 Author: Carlosokumu <carlosokumu254@gmail.com> Date: Tue, 24 Mar 2026 20:42:11 +0300 fix: match imports after restructure Diffstat:
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dummy/usawa/gui/components/wallet_setup.py b/dummy/usawa/gui/components/wallet_setup.py @@ -5,7 +5,7 @@ import threading import logging import threading -from usawa.core.state_manager import StateManager +from ..core.state_manager import StateManager from usawa.crypto import DemoWallet diff --git a/dummy/usawa/gui/controllers/entry_controller.py b/dummy/usawa/gui/controllers/entry_controller.py @@ -1,8 +1,8 @@ import logging from typing import Optional -from usawa.core.entry_service import EntryService -from ...core.models import LedgerEntry +from ..core.entry_service import EntryService +from ..core.models import LedgerEntry logg = logging.getLogger("gui.entry_controller") diff --git a/dummy/usawa/gui/main_window.py b/dummy/usawa/gui/main_window.py @@ -1,6 +1,6 @@ import logging from pathlib import Path -from usawa.core.state_manager import StateManager +from .core.state_manager import StateManager from usawa.crypto import DemoWallet from usawa.gui.components.passphrase_dialog import ( PASSPHRASE_DIALOG_CSS, @@ -9,7 +9,7 @@ from usawa.gui.components.passphrase_dialog import ( from usawa.gui.components.wallet_setup import ImportWalletDialog from usawa.ledger import Ledger from usawa.service import UnixClient -from usawa.core.entry_service import EntryService +from .core.entry_service import EntryService from usawa.storage.ledger_repository import LedgerRepository from gi.repository import Adw, Gtk, Gio, GLib, Gdk from usawa import load diff --git a/dummy/usawa/storage/entry_mapper.py b/dummy/usawa/storage/entry_mapper.py @@ -3,7 +3,7 @@ from datetime import datetime, date from usawa.entry import Entry, EntryPart from usawa.unit import UnitIndex -from ..core.models import LedgerEntry +from ..gui.core.models import LedgerEntry from usawa import Entry, EntryPart logg = logging.getLogger("storage.entry_mapper") diff --git a/dummy/usawa/storage/ledger_repository.py b/dummy/usawa/storage/ledger_repository.py @@ -1,5 +1,6 @@ import logging from typing import List +from usawa.gui.core.models import LedgerEntry from usawa.storage.file_utils import path_from_uri from usawa.storage.xml_utils import ( _write_xml_to_file, @@ -10,7 +11,6 @@ from usawa.ledger import Ledger from usawa.resolve.fs import FSResolver from usawa.service import UnixClient from usawa.store import LedgerStore -from ..core.models import LedgerEntry from .entry_mapper import EntryMapper from whee.valkey import ValkeyStore from usawa import Ledger, DemoWallet, load