Remove useless check
This commit is contained in:
parent
4cd45b6535
commit
fa968996ed
@ -295,11 +295,6 @@ def _download_pair_history(datadir: Path,
|
|||||||
:param timerange: range of time to download
|
:param timerange: range of time to download
|
||||||
:return: bool with success state
|
:return: bool with success state
|
||||||
"""
|
"""
|
||||||
if not exchange:
|
|
||||||
raise OperationalException(
|
|
||||||
"Exchange needs to be initialized when downloading pair history data"
|
|
||||||
)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
logger.info(
|
logger.info(
|
||||||
f'Download history data for pair: "{pair}", timeframe: {timeframe} '
|
f'Download history data for pair: "{pair}", timeframe: {timeframe} '
|
||||||
|
Loading…
Reference in New Issue
Block a user