small changes

This commit is contained in:
incrementby1 2021-10-29 00:03:20 +02:00
parent 658006e7ee
commit e9d71f26b3

View File

@ -128,7 +128,7 @@ class PairLocks():
PairLock.query.session.commit()
else:
# used in backtesting mode; don't show log messages for speed
locks = PairLocks.get_locks(None)
locks = PairLocks.get_pair_locks(None)
for lock in locks:
if lock.reason == reason:
lock.active = False