No need to use .get() for properties with default values

This commit is contained in:
Matthias
2023-07-12 18:27:46 +02:00
parent 5399253786
commit b593205ad9
7 changed files with 12 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ def init_plotscript(config, markets: List, startup_candles: int = 0):
timeframe=config['timeframe'],
timerange=timerange,
startup_candles=startup_candles,
data_format=config.get('dataformat_ohlcv', 'feather'),
data_format=config['dataformat_ohlcv'],
candle_type=config.get('candle_type_def', CandleType.SPOT)
)