Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation #1116

Merged
merged 3 commits into from
Jul 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update commands.py
  • Loading branch information
michplunkett committed Jul 23, 2024
commit 98fa3ac6136b10cf403fc2c9bb175a4cdbd2aab6
1 change: 0 additions & 1 deletion OpenOversight/app/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ def bulk_add_officers(filename, no_create, update_by_name, update_static_fields)

for row in csvfile:
department_id = row["department_id"]
department = departments.get(department_id)
if row["department_id"] not in departments:
department = Department.query.filter_by(id=department_id).one_or_none()
if department:
Expand Down
Loading