Don't reuse variable
This commit is contained in:
parent
521025037d
commit
3471f5204b
@ -2015,9 +2015,9 @@ class Exchange:
|
|||||||
continue
|
continue
|
||||||
# Deconstruct tuple (has 5 elements)
|
# Deconstruct tuple (has 5 elements)
|
||||||
pair, timeframe, c_type, ticks, drop_hint = res
|
pair, timeframe, c_type, ticks, drop_hint = res
|
||||||
drop_incomplete = drop_hint if drop_incomplete is None else drop_incomplete
|
drop_incomplete_ = drop_hint if drop_incomplete is None else drop_incomplete
|
||||||
ohlcv_df = self._process_ohlcv_df(
|
ohlcv_df = self._process_ohlcv_df(
|
||||||
pair, timeframe, c_type, ticks, cache, drop_incomplete)
|
pair, timeframe, c_type, ticks, cache, drop_incomplete_)
|
||||||
|
|
||||||
results_df[(pair, timeframe, c_type)] = ohlcv_df
|
results_df[(pair, timeframe, c_type)] = ohlcv_df
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user