From 56c8b59ccd8f61323fd2ec10014e3975c1de5845 Mon Sep 17 00:00:00 2001 From: wendtalexander <wendtalexander@protonmail.com> Date: Mon, 30 Sep 2024 12:10:54 +0200 Subject: [PATCH] [project] changing to absolut imports --- pyrelacs/app.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyrelacs/app.py b/pyrelacs/app.py index bcf1cb6..4b50cf9 100644 --- a/pyrelacs/app.py +++ b/pyrelacs/app.py @@ -6,11 +6,13 @@ from PyQt6.QtWidgets import QApplication from pyrelacs import info from pyrelacs.ui.mainwindow import PyRelacs from pyrelacs.util.logging import config_logging -import resources log = config_logging() -from . import resources # best created with pyside6-rcc resources.qrc -o resources.py (rcc produces an error...) +from pyrelacs import ( + resources, +) # best created with pyside6-rcc resources.qrc -o resources.py (rcc produces an error...) + def main(): app = QApplication(sys.argv)