open template file properly for pyinstaller

This commit is contained in:
Fredrick W. Warren 2022-05-30 20:52:26 -07:00
parent e2dcc81b74
commit 8d25773df8

View File

@ -88,7 +88,7 @@ def build_layout(title, subtitle, thumbnail):
def main():
title = 'Pastor Shane Wallis'
subtitle = 'Bible Stduy Wednesday June 1st, 2022'
image_path = 'blank_title.png'
image_path = resource_path('rblank_title.png')
original = Image.open(image_path)
image = update_image(original, title, subtitle)
thumbnail = update_thumbnail(image)