Skip to content

Commit

Permalink
Minor oops in misc/add-station
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Dec 26, 2014
1 parent e4b513e commit d4ae79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/add-station.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ def addStation(
))

# Add to the .csv first.
with open(csvFile, "ab") as fh:
with open(csvFile, "a") as fh:
fh.write("'{}','{}',{},'{}','{}'\n".format(
sysCsvName,
stnCsvName,
distLs,
blackMarket,
maxPadSize,
).encode())
))

# Now insert into the DB.
cur = conn.cursor()
Expand Down

0 comments on commit d4ae79c

Please sign in to comment.