diff --git a/congress/225x275/P000617.jpg b/congress/225x275/P000617.jpg new file mode 100644 index 00000000..14723399 Binary files /dev/null and b/congress/225x275/P000617.jpg differ diff --git a/congress/225x275/R000616.jpg b/congress/225x275/R000616.jpg new file mode 100644 index 00000000..641d5cf9 Binary files /dev/null and b/congress/225x275/R000616.jpg differ diff --git a/congress/450x550/P000617.jpg b/congress/450x550/P000617.jpg new file mode 100644 index 00000000..8d555e5a Binary files /dev/null and b/congress/450x550/P000617.jpg differ diff --git a/congress/450x550/R000616.jpg b/congress/450x550/R000616.jpg new file mode 100644 index 00000000..088ee75e Binary files /dev/null and b/congress/450x550/R000616.jpg differ diff --git a/congress/original/P000617.jpg b/congress/original/P000617.jpg new file mode 100644 index 00000000..d8b21130 Binary files /dev/null and b/congress/original/P000617.jpg differ diff --git a/congress/original/P000617.png b/congress/original/P000617.png deleted file mode 100644 index f1fe5620..00000000 Binary files a/congress/original/P000617.png and /dev/null differ diff --git a/congress/original/R000616.jpg b/congress/original/R000616.jpg new file mode 100644 index 00000000..81726697 Binary files /dev/null and b/congress/original/R000616.jpg differ diff --git a/congress/original/R000616.png b/congress/original/R000616.png deleted file mode 100644 index 35e9c18d..00000000 Binary files a/congress/original/R000616.png and /dev/null differ diff --git a/scripts/missing.py b/scripts/missing.py index b6bdb6d5..bb09521e 100644 --- a/scripts/missing.py +++ b/scripts/missing.py @@ -40,7 +40,7 @@ def file_exists(filename): if not os.path.exists(filename): print("---") print("Not found:", filename) - print(l["name"]) + print(legislator["name"]) return False return True @@ -50,8 +50,8 @@ def file_exists(filename): download_legislator_data() legislators = load_yaml("congress-legislators/legislators-current.yaml") - for l in legislators: - bioguide = l["id"]["bioguide"] + for legislator in legislators: + bioguide = legislator["id"]["bioguide"] filename = os.path.join("congress", "original", bioguide + ".jpg") if file_exists(filename): # Only check for yaml if jpg exists