mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-09-20 09:31:12 +00:00
Split timeframe_to_secs from loggingmixin init
This commit is contained in:
parent
f8a2569739
commit
2297b3ed55
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user