[change] order to Day/Month/Year when reading csv file for event info
This commit is contained in:
parent
815a18f2f3
commit
6afb61b666
2
PyLoT.py
2
PyLoT.py
@ -3480,7 +3480,7 @@ class Project(object):
|
|||||||
eventID, date, time, mag, lat, lon, depth = line.split(separator)[:7]
|
eventID, date, time, mag, lat, lon, depth = line.split(separator)[:7]
|
||||||
# skip first line
|
# skip first line
|
||||||
try:
|
try:
|
||||||
month, day, year = date.split('/')
|
day, month, year = date.split('/')
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
year = int(year)
|
year = int(year)
|
||||||
|
Loading…
Reference in New Issue
Block a user