Split timeframe_to_secs from loggingmixin init

This commit is contained in:
Matthias
2024-04-17 20:13:02 +02:00
parent a15793a6ba
commit bc85352098

View File

@@ -117,7 +117,8 @@ class FreqtradeBot(LoggingMixin):
# Protect exit-logic from forcesell and vice versa
self._exit_lock = Lock()
LoggingMixin.__init__(self, logger, timeframe_to_seconds(self.strategy.timeframe))
timeframe_secs = timeframe_to_seconds(self.strategy.timeframe)
LoggingMixin.__init__(self, logger, timeframe_secs)
self._schedule = Scheduler()