Correct imports and calls to parse_timerange

This commit is contained in:
Matthias
2019-08-14 10:07:32 +02:00
parent 06fa07e73e
commit 51c3a31bb5
9 changed files with 18 additions and 17 deletions

View File

@@ -105,7 +105,7 @@ if not pairs or args.pairs_file:
timerange = TimeRange()
if args.days:
time_since = arrow.utcnow().shift(days=-args.days).strftime("%Y%m%d")
timerange = arguments.parse_timerange(f'{time_since}-')
timerange = TimeRange.parse_timerange(f'{time_since}-')
logger.info(f'About to download pairs: {pairs}, intervals: {timeframes} to {dl_path}')