diff --git a/app/views/staff.py b/app/views/staff.py index df5d84dc4a74eca3d29f357b111a6732f978b9f1..c427c240e1c02bc44ed872994ae18a31aebb5246 100644 --- a/app/views/staff.py +++ b/app/views/staff.py @@ -166,7 +166,7 @@ def edit_project(project_id): shortlist_proposer(project) return redirect(url_for("staff.projects")) form = ProjectForm(obj=project) - form.meeting_mode.data = "remote" if project.is_remote == True else "" + form.meeting_mode.data = "remote" if project.is_remote is True else "" form.category.choices = [(c.code, c.name) for c in categories] if project.on_behalf is not None: