]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
Fixed a method name in the download_lines function.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 12 Nov 2009 23:26:58 +0000 (18:26 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 12 Nov 2009 23:26:58 +0000 (18:26 -0500)
src/Data.py

index d953124d9ca29c1d64c683752d3fc2ecafc66889..be5b1d23d26398d452fe8579cf2f09ddf0e03584 100644 (file)
@@ -246,7 +246,7 @@ def download_lines(states):
         # data if necessary.
         for county in state.counties:
             if not os.path.exists(county.lines_shapefile_path()):
-                url = county.tiger_data_url()
+                url = county.lines_data_url()
                 tmpfile = county.lines_zipfile_name()
                 print "Grabbing TIGER lines data for %s (%s)." % (county.full_name(), state.name)
                 print "Downloading %s to %s..." % (url, tmpfile)