chore: Update thumbnail dir name and signal

This commit is contained in:
Tanner Collin 2025-06-22 17:41:44 -06:00 committed by Tanner Collin (aider)
parent 257ea3d1a0
commit 3093ab9cfa

View File

@ -15,7 +15,7 @@ def generator_finalized(generator):
""" """
output_path = generator.settings['OUTPUT_PATH'] output_path = generator.settings['OUTPUT_PATH']
content_path = generator.settings['PATH'] content_path = generator.settings['PATH']
thumb_dir = os.path.join(output_path, 'media', 'thumbs') thumb_dir = os.path.join(output_path, 'media', 'thumbnails')
if not os.path.exists(thumb_dir): if not os.path.exists(thumb_dir):
try: try:
@ -82,5 +82,5 @@ def generator_finalized(generator):
def register(): def register():
signals.generator_finalized.connect(generator_finalized) signals.page_generator_finalized.connect(generator_finalized)