Skip to content

Commit

Permalink
#16 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHalcyonSavant authored May 7, 2018
1 parent b9071cd commit 09bde31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backtest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sub convert {
# print $data;
my $coder = JSON::XS->new->ascii->pretty->allow_nonref;
$json = $coder->encode ($data);
$json =~ s/^{/config.$stratname = {\n/;
$json =~ s/^{/config['$stratname'] = {\n/;
return $json;
}
sub convert_json_toml {
Expand Down

0 comments on commit 09bde31

Please sign in to comment.