Skip to content

Commit

Permalink
Added context to BoardWidgetExample folder
Browse files Browse the repository at this point in the history
  • Loading branch information
H-a-y-k committed Jun 29, 2020
1 parent 86b86d6 commit cef8ef1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/BoardWidgetExample/boardwidget_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from PySide2.QtGui import QPixmap
import sys

import resources
from context import resources


class MainWindow(QMainWindow):
Expand Down
6 changes: 6 additions & 0 deletions examples/BoardWidgetExample/context.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import os
import sys

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))

import resources

0 comments on commit cef8ef1

Please sign in to comment.