Skip to content

Commit

Permalink
Allow debug parameter on TradeDB
Browse files Browse the repository at this point in the history
  • Loading branch information
kfsone committed Nov 26, 2014
1 parent d301468 commit 755cbf3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tradedb.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,10 @@ def __init__(self,
sqlFilename=None,
pricesFilename=None,
buildLinks=True,
includeTrades=True
includeTrades=True,
debug=None,
):
tdenv = tdenv or TradeEnv()
tdenv = tdenv or TradeEnv(debug)
self.tdenv = tdenv
self.dbPath = Path(tdenv.dbFilename or TradeDB.defaultDB)
self.dbURI = str(self.dbPath)
Expand Down

0 comments on commit 755cbf3

Please sign in to comment.