projects
/
pyutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds a __repr__ to graph.
[pyutils.git]
/
src
/
pyutils
/
geocode.py
diff --git
a/src/pyutils/geocode.py
b/src/pyutils/geocode.py
index e3e416e9ab84b487eeb17eb08ecf490b647a1d4d..fa8956d9c1364ec6ebf280315a6506d6227bb160 100644
(file)
--- a/
src/pyutils/geocode.py
+++ b/
src/pyutils/geocode.py
@@
-9,9
+9,9
@@
Also try::
Also try::
- $ curl --form
[email protected]
\
- --form benchmark=2020 \
- https://geocoding.geo.census.gov/geocoder/locations/addressbatch \
+ $ curl --form
[email protected]
\
\
+ --form benchmark=2020 \
\
+ https://geocoding.geo.census.gov/geocoder/locations/addressbatch \
\
--output geocoderesult.csv
"""
--output geocoderesult.csv
"""
@@
-132,7
+132,7
@@
def batch_geocode_addresses(addresses: List[str]) -> Optional[List[str]]:
logger.debug("Response: %s", r.text)
for line in r.text.split("\n"):
line = line.strip()
logger.debug("Response: %s", r.text)
for line in r.text.split("\n"):
line = line.strip()
- if l
en(line) > 0
:
+ if l
ine
:
out.append(line)
return out
out.append(line)
return out