Skip to content

Commit

Permalink
Fix for price data reset code in build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Nov 22, 2014
1 parent 1e804bc commit a73b16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def importDataFromFile(tdenv, tdb, path, reset=False):

if reset:
tdenv.DEBUG0("Resetting price data")
tdb.cur.execute("DELETE FROM StationItem")
tdb.getDB().execute("DELETE FROM StationItem")

tdenv.DEBUG0("Importing data from {}".format(str(path)))
processPricesFile(tdenv,
Expand Down

0 comments on commit a73b16d

Please sign in to comment.