diff --git a/tradedb.py b/tradedb.py index 95b69fdd..432ae270 100644 --- a/tradedb.py +++ b/tradedb.py @@ -278,7 +278,7 @@ def __init__(self, includeTrades=True, debug=None, ): - tdenv = tdenv or TradeEnv(debug) + tdenv = tdenv or TradeEnv(debug=debug) self.tdenv = tdenv self.dbPath = Path(tdenv.dbFilename or TradeDB.defaultDB) self.dbURI = str(self.dbPath)