From bb759fc366c1a5f1cdd5e58152bf0e0a171f427d Mon Sep 17 00:00:00 2001 From: Akash Bora <89206401+Akascape@users.noreply.github.com> Date: Thu, 29 Dec 2022 22:21:08 +0530 Subject: [PATCH] Update Datamosher Pro.py --- Python Version/Datamosher Pro.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Python Version/Datamosher Pro.py b/Python Version/Datamosher Pro.py index 4481711..c2d0124 100644 --- a/Python Version/Datamosher Pro.py +++ b/Python Version/Datamosher Pro.py @@ -27,10 +27,7 @@ from DatamoshLib.FFG_effects import basic_modes, external_script #Resource Finder def resource(relative_path): - base_path = getattr( - sys, - '_MEIPASS', - os.path.dirname(os.path.abspath(__file__))) + base_path = os.path.dirname(os.path.abspath(__file__))) return os.path.join(base_path, relative_path) #Main Window size @@ -58,7 +55,7 @@ icopath = ImageTk.PhotoImage(file=resource("Assets/Icons/Program_icon.png")) root.iconphoto(False, icopath) #FFMPEG path (using the imageio ffmpeg plugin) -ffmpeg = resource(imageio_ffmpeg.get_ffmpeg_exe()) +ffmpeg = imageio_ffmpeg.get_ffmpeg_exe() #Effect List modelist = sorted(["Bloom", "Invert", "Jiggle", "Overlap", "Pulse", "Reverse",