warwickmm
warwickmm
This is an attempt to remove our dependencies on python 2, which is no longer included as of macOS 12.3.
The following pattern is used often to read csv files: ``` with open(filename, 'rU') as csvfile: reader = unicodecsv.DictReader(csvfile) ``` I think this worked in python2 since the `str` and...
### Steps To Reproduce 1. Log out of the vault. 2. Attempt to log in by either clicking on the Bitwarden extension icon, or hitting ctrl+shift+L to open the login...
[2020/counties/20201103__ny__general__bronx__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2020/counties/20201103__ny__general__bronx__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes', 'public_counter_votes', 'emergency_votes', 'absentee_military_votes', 'federal_votes', 'affidavit_votes', 'manually_counted_emergency', 'special_presidential'] has 14 entries, but there...
[2020/counties/20201103__ny__general__kings__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2020/counties/20201103__ny__general__kings__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes', 'public_counter_votes', 'emergency_votes', 'absentee_military_votes', 'federal_votes', 'affidavit_votes', 'manually_counted_emergency', 'special_presidential'] has 14 entries, but there...
[2020/counties/20201103__ny__general__new_york__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2020/counties/20201103__ny__general__new_york__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes', 'public_counter_votes', 'emergency_votes', 'absentee_military_votes', 'federal_votes', 'affidavit_votes', 'manually_counted_emergency', 'special_presidential'] has 14 entries, but there...
[2020/counties/20201103__ny__general__queens__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2020/counties/20201103__ny__general__queens__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes', 'public_counter_votes', 'emergency_votes', 'absentee_military_votes', 'federal_votes', 'affidavit_votes', 'manually_counted_emergency', 'special_presidential'] has 14 entries, but there...
[2018/counties/20181106__ny__general__monroe__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2018/counties/20181106__ny__general__monroe__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'candidate', 'party', 'votes'] has 7 entries, but there are 10 rows with an inconsistent number...
[2016/counties/20160913__ny__republican__primary__richmond__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2016/counties/20160913__ny__republican__primary__richmond__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes', 'public_counter_votes', 'emergency_votes', 'absentee_military_votes', 'federal_votes', 'affidavit_votes'] has 12 entries, but there are 132...
[2014/counties/20141104__ny__general__suffolk__precinct.csv](https://github.com/openelections/openelections-data-ny/blob/4fe2d2f218307acda42e6ed6467d49e79ceb3b64/2014/counties/20141104__ny__general__suffolk__precinct.csv) has rows with an inconsistent number of columns: ``` Header ['county', 'precinct', 'office', 'district', 'party', 'candidate', 'votes'] has 7 entries, but there are 18290 rows with an inconsistent number...