More fixes

chrusher/bus_synthesizer
Christopher Usher 2 weeks ago committed by Mike Lang
parent 6cf475793b
commit 13f20ba882

@ -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