Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
expect legacy config format
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Mar 8, 2017
1 parent c3d0764 commit 63ec97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/workers/datasetScan/parent.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function(config, done) {

util.setConfig(config);

var adapter = config.adapters[config.backtest.adapter];
var adapter = config[config.adapter];
var scan = require(dirs.gekko + adapter.path + '/scanner');

scan((err, markets) => {
Expand Down

0 comments on commit 63ec97b

Please sign in to comment.