open template file properly for pyinstaller
This commit is contained in:
parent
e2dcc81b74
commit
8d25773df8
@ -88,7 +88,7 @@ def build_layout(title, subtitle, thumbnail):
|
|||||||
def main():
|
def main():
|
||||||
title = 'Pastor Shane Wallis'
|
title = 'Pastor Shane Wallis'
|
||||||
subtitle = 'Bible Stduy Wednesday June 1st, 2022'
|
subtitle = 'Bible Stduy Wednesday June 1st, 2022'
|
||||||
image_path = 'blank_title.png'
|
image_path = resource_path('rblank_title.png')
|
||||||
original = Image.open(image_path)
|
original = Image.open(image_path)
|
||||||
image = update_image(original, title, subtitle)
|
image = update_image(original, title, subtitle)
|
||||||
thumbnail = update_thumbnail(image)
|
thumbnail = update_thumbnail(image)
|
||||||
|
Loading…
Reference in New Issue
Block a user