diff --git a/app/portal/list.py b/app/portal/list.py index 0fa6093..2c57a7d 100644 --- a/app/portal/list.py +++ b/app/portal/list.py @@ -131,7 +131,7 @@ class NewMirrorListForm(FlaskForm): # type: ignore @bp.route('/edit/', methods=['GET', 'POST']) def list_edit(list_id: int) -> ResponseReturnValue: list_: Optional[MirrorList] = MirrorList.query.filter(MirrorList.id == list_id).first() - if list is None: + if list_ is None: return Response(render_template("error.html.j2", section="list", header="404 Distribution List Not Found",