Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
removed debug code and enable saving data again
  • Loading branch information
LoveMyData committed Jun 2, 2017
1 parent addd1f7 commit b17e8c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -90,8 +90,8 @@
$existingRecords = scraperwiki::select("* from data where `council_reference`='" . $application['council_reference'] . "'");
if (count($existingRecords) == 0) {
print ("Saving record " . $application['council_reference'] . " - " .$application['address']. "\n");
print_r ($application);
// scraperwiki::save(array('council_reference'), $application);
// print_r ($application);
scraperwiki::save(array('council_reference'), $application);
} else {
print ("Skipping already saved record " . $application['council_reference'] . "\n");
}
Expand Down

0 comments on commit b17e8c2

Please sign in to comment.