aboutsummaryrefslogtreecommitdiff
path: root/preview_thread.py
diff options
context:
space:
mode:
authorDH42017-06-23 02:39:56 -0500
committerDH42017-06-23 02:39:56 -0500
commit8c9914850e9987d4f05e8b88dedb058ffbb4f53f (patch)
tree4a188c0104bc270d033656e6af796686cc727d03 /preview_thread.py
parent60d62599f785167f4c976a92fd8f19fbee4a363d (diff)
cx_freeze Path Updates
Diffstat (limited to 'preview_thread.py')
-rw-r--r--preview_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/preview_thread.py b/preview_thread.py
index e3e8279..eabf715 100644
--- a/preview_thread.py
+++ b/preview_thread.py
@@ -23,7 +23,7 @@ class Worker(QtCore.QObject):
self.stackedWidget = parent.window.stackedWidget
self.background = Image.new("RGBA", (1920, 1080), (0, 0, 0, 0))
self.background.paste(Image.open(os.path.join(
- os.path.dirname(os.path.realpath(__file__)), "background.png")))
+ self.core.wd, "background.png")))
@pyqtSlot(str, list)
def createPreviewImage(self, components):