Read in txt files as txt files, rather than deal with encoding errors
kuanb opened this issue · 1 comments
kuanb commented
As per our discussion IRL (w/ Sam at Maptime), we observed that this line (
urbanaccess/urbanaccess/gtfs/load.py
Line 59 in 2f37f8e
.txt
rather than .csv
.
Alternately, just read in the csv
with file type set as txt
. Check the file type via something like foo.lower().endswith('.txt')
and then, if true, then go ahead and read in as a text file.
sablanchard commented
Thanks Kuan. Can address this at a later time.