flake8 fix

This commit is contained in:
Janne Sinivirta 2018-06-04 12:45:23 +03:00
parent d4b431a335
commit 5c7899ae98

View File

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