Skip to content

Commit

Permalink
Ignore scrubbed rows also.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Feb 27, 2012
1 parent 9f7dbca commit 276a30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/update-areas
Expand Up @@ -30,7 +30,7 @@ $types .= '|';
$types .= join('|', @$mySociety::VotingArea::council_child_types);
$types .= '|OLF'; # Want LSOA sometimes too

my $rows = select_all("select id,postcode from signer where postcode is not null and latitude is null");
my $rows = select_all("select id,postcode from signer where postcode is not null and postcode!='' and latitude is null");
foreach my $signer (@$rows) {
my $mapit = mySociety::MaPit::call('postcode', $signer->{postcode});
if ($mapit->{error}) {
Expand Down

0 comments on commit 276a30d

Please sign in to comment.