From 8c9914850e9987d4f05e8b88dedb058ffbb4f53f Mon Sep 17 00:00:00 2001 From: DH4 Date: Fri, 23 Jun 2017 02:39:56 -0500 Subject: cx_freeze Path Updates --- video_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video_thread.py') diff --git a/video_thread.py b/video_thread.py index d7220f1..9740641 100644 --- a/video_thread.py +++ b/video_thread.py @@ -69,7 +69,7 @@ class Worker(QtCore.QObject): def previewDispatch(self): background = Image.new("RGBA", (1920, 1080), (0, 0, 0, 0)) background.paste(Image.open(os.path.join( - os.path.dirname(os.path.realpath(__file__)), "background.png"))) + self.core.wd, "background.png"))) background = background.resize((self.width, self.height)) while not self.stopped: -- cgit v1.2.3