testdata path to use os.path.join (#360)
This commit is contained in:
parent
3ac3ead2cf
commit
3a902289f1
@ -3,6 +3,7 @@ import enum
|
||||
import json
|
||||
import logging
|
||||
import time
|
||||
import os
|
||||
from typing import Any, Callable, Dict, List
|
||||
|
||||
from jsonschema import Draft4Validator, validate
|
||||
@ -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',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user