Update README for castle-rock; improve nebraska workaround
This commit is contained in:
parent
a44f8c23b6
commit
c125525413
2 changed files with 12 additions and 8 deletions
|
|
@ -65,7 +65,11 @@ for state, baseURL in states.items():
|
|||
print(f"warn: Differing types detected: {c['views']}")
|
||||
if view['category'] == 'VIDEO':
|
||||
if state == "Nebraska":
|
||||
print(c)
|
||||
# Nebraska has mislabeled a small amount of their data;
|
||||
# there is one location with 4 views labeled as "VIDEO"
|
||||
# which are not, in fact, video-containing views
|
||||
view['category'] = "PHOTO"
|
||||
continue
|
||||
videoCount += 1
|
||||
if len(view['sources']) != 1:
|
||||
raise Exception(f"Unexpected number of sources ({len(view['sources'])})")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue