fix error caused by not fully changing everything related to species when making the new articles pages

This commit is contained in:
Ugric committed 2026-04-06 15:53:12 +01:00
1 parent 9284f4e3b1
commit ae22ab9317
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ page = Blueprint("article", __name__)
def data(article_id):
database_entry = get_article_by_id(article_id)
if database_entry is None:
raise TypeError(f"No species named '{species_english}' found in the database.")
raise TypeError(f"No article named '{article_id}' found in the database.")
return render_template(
"library/article.jinja",
article_id =database_entry["article_id" ].capitalize(),