Split timeframe_to_secs from loggingmixin init
This commit is contained in:
@@ -117,7 +117,8 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
|
|
||||||
# Protect exit-logic from forcesell and vice versa
|
# Protect exit-logic from forcesell and vice versa
|
||||||
self._exit_lock = Lock()
|
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()
|
self._schedule = Scheduler()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user