testdata path to use os.path.join (#360)

This commit is contained in:
Samuel Husso 2018-01-11 13:58:06 +02:00 committed by Michael Egger
parent 3ac3ead2cf
commit 3a902289f1
1 changed files with 2 additions and 1 deletions

View File

@ -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',
)