Skip to content

Commit

Permalink
minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xtyangpsp committed Apr 5, 2022
1 parent 441bdb7 commit f9aff4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seisgo/downloaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_sta_list(net_list, sta_list, chan_list, starttime, endtime, fname=None,\
if fname is not None:
fhead,ftail=os.path.split(fname)
if len(fhead)>0:
if not os.path.isdir(fdir):os.makedirs(fdir)
if not os.path.isdir(fhead):os.makedirs(fhead)
locs.to_csv(fname, index=False)

return locs
Expand Down

0 comments on commit f9aff4d

Please sign in to comment.