Skip to content

Commit

Permalink
testdata path to use os.path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
shusso committed Jan 11, 2018
1 parent 3ac3ead commit 0f08b63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion freqtrade/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
import logging
import time
import os
from typing import Any, Callable, Dict, List

from jsonschema import Draft4Validator, validate
Expand Down Expand Up @@ -129,7 +130,7 @@ def parse_args(args: List[str], description: str):
'-dd', '--datadir',
help='path to backtest data (default freqdata/tests/testdata',
dest='datadir',
default='freqtrade/tests/testdata',
default=os.path.join('freqtrade', 'tests', 'testdata'),
type=str,
metavar='PATH',
)
Expand Down

0 comments on commit 0f08b63

Please sign in to comment.