mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-06-03 18:49:32 +00:00
changed importing system
This commit is contained in:
@@ -10,7 +10,7 @@ from functools import partialmethod
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
from PyQt5.QtCore import Qt as Qt, QUrl, QDir
|
||||
|
||||
from config import ConfigManager
|
||||
from lib.config import ConfigManager
|
||||
|
||||
# Additional custom roles to interact with various table data
|
||||
ModelDataRole = 998
|
||||
|
||||
@@ -12,11 +12,11 @@ import traceback
|
||||
|
||||
# Add parent dir to PATH to import messaging_lib and config_lib
|
||||
current_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
sys.path.insert(0, os.path.realpath(os.path.join(current_dir, os.pardir, os.pardir, 'lib')))
|
||||
sys.path.insert(0, os.path.realpath(os.path.join(current_dir, os.pardir, os.pardir)))
|
||||
|
||||
# Import modules from lib dir
|
||||
import messaging
|
||||
from config import ConfigManager
|
||||
import lib.messaging as messaging
|
||||
from lib.config import ConfigManager
|
||||
|
||||
random.seed()
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import logging
|
||||
import sys
|
||||
from functools import partial
|
||||
|
||||
from lib import b_partial
|
||||
from lib.lib import b_partial
|
||||
|
||||
# TODO: previous step and reset
|
||||
class VisualLandDialog(QtWidgets.QDialog):
|
||||
|
||||
Reference in New Issue
Block a user