More fixes

pull/481/head
Christopher Usher 9 months ago
parent da6a9d5ebe
commit 176391e669

@ -383,8 +383,8 @@ def update_row(ident, editor=None):
for playlist in playlists for playlist in playlists
] ]
description_lines.append('') # blank line before footer description_lines.append('') # blank line before footer
if new_row['thumbnail_mode'] == 'TEMPLATE': if new_row['thumbnail_mode'] == 'TEMPLATE' and new_row['thumbnail_template']:
template = database.query(conn, """ results = database.query(conn, """
SELECT description FROM templates WHERE name = %s SELECT description FROM templates WHERE name = %s
""", new_row['thumbnail_template']) """, new_row['thumbnail_template'])
template = results.fetchone() template = results.fetchone()

Loading…
Cancel
Save