We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b3d93a commit 2ec4332Copy full SHA for 2ec4332
1 file changed
censusbatchgeocoder/__init__.py
@@ -142,6 +142,8 @@ def geocode(self, string_or_stream):
142
# This is for strings that should be a path leading to a file
143
if self.encoding:
144
request_file = open(string_or_stream, encoding=self.encoding)
145
+ else:
146
+ request_file = open(string_or_stream)
147
request_csv = list(agate.csv.DictReader(request_file, **self.agate_options))
148
else:
149
# Otherwise we assume it's a list of dictionaries ready to go
0 commit comments