]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - src/Data.py
Fixed a method name in the download_lines function.
[dead/census-tools.git] / 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)