From 5c7899ae9864e07efb5817dbd4bc56038fa4dc0d Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Mon, 4 Jun 2018 12:45:23 +0300 Subject: [PATCH] flake8 fix --- scripts/download_backtest_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/download_backtest_data.py b/scripts/download_backtest_data.py index c66103769..cd64f36bb 100755 --- a/scripts/download_backtest_data.py +++ b/scripts/download_backtest_data.py @@ -16,7 +16,8 @@ args = arguments.parse_args() TICKER_INTERVALS = ['1m', '5m'] -dl_path = args.export if args.export and os.path.exists(args.export) else os.path.join(DEFAULT_DL_PATH, args.exchange) +dl_path = args.export if args.export and os.path.exists(args.export) \ + else os.path.join(DEFAULT_DL_PATH, args.exchange) if not os.path.isdir(dl_path): sys.exit(f'Directory {dl_path} does not exist.')