diff --git a/examples/BoardWidgetExample/__pycache__/context.cpython-37.pyc b/examples/BoardWidgetExample/__pycache__/context.cpython-37.pyc new file mode 100644 index 0000000..4ddc402 Binary files /dev/null and b/examples/BoardWidgetExample/__pycache__/context.cpython-37.pyc differ diff --git a/examples/BoardWidgetExample/boardwidget_example.py b/examples/BoardWidgetExample/boardwidget_example.py index 748d73e..e8aec9a 100644 --- a/examples/BoardWidgetExample/boardwidget_example.py +++ b/examples/BoardWidgetExample/boardwidget_example.py @@ -4,7 +4,7 @@ from PySide2.QtGui import QPixmap import sys -import resources +from context import resources class MainWindow(QMainWindow): diff --git a/examples/BoardWidgetExample/context.py b/examples/BoardWidgetExample/context.py new file mode 100644 index 0000000..38795c3 --- /dev/null +++ b/examples/BoardWidgetExample/context.py @@ -0,0 +1,6 @@ +import os +import sys + +sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) + +import resources