From 55ba0827464e9e5f9e9ae85a479f633737150517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 15 Dec 2019 17:58:59 +0100 Subject: [PATCH] Fix bad message --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 1270e89..9634ef8 100644 --- a/app.py +++ b/app.py @@ -111,7 +111,7 @@ def admin(): if not len(title.links): db.session.delete(title) db.session.commit() - form.message = '%s (%s) has been successfully deleted' % (title, link.season) + form.message = '%s (%s) has been successfully deleted' % (title.name, link.season) else: form._errors = {'id': ['Id %s was not found in the database' % form.id.data]}