From 94c512350cf1c759d2d96a4529e0f031adef37bb Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 24 Jan 2021 21:39:25 -0800 Subject: [PATCH] Fix thumbnail_photo not set in new_album. --- etiquette/photodb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 738d6b4..d5dae5b 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -110,6 +110,7 @@ class PDBAlbumMixin: 'title': title, 'description': description, 'created': helpers.now(), + 'thumbnail_photo': None, 'author_id': author_id, } self.sql_insert(table='albums', data=data)