replace os.path with pathlib.Path

This commit is contained in:
Matthias
2018-12-15 13:54:35 +01:00
parent a34c2cf64b
commit f261911285
3 changed files with 18 additions and 22 deletions

View File

@@ -142,7 +142,7 @@ def plot_analyzed_dataframe(args: Namespace) -> None:
tickers[pair] = exchange.klines(pair)
else:
tickers = history.load_data(
datadir=_CONF.get("datadir"),
datadir=Path(_CONF.get("datadir")),
pairs=[pair],
ticker_interval=tick_interval,
refresh_pairs=_CONF.get('refresh_pairs', False),