small changes
This commit is contained in:
parent
658006e7ee
commit
e9d71f26b3
@ -128,7 +128,7 @@ class PairLocks():
|
|||||||
PairLock.query.session.commit()
|
PairLock.query.session.commit()
|
||||||
else:
|
else:
|
||||||
# used in backtesting mode; don't show log messages for speed
|
# 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:
|
for lock in locks:
|
||||||
if lock.reason == reason:
|
if lock.reason == reason:
|
||||||
lock.active = False
|
lock.active = False
|
||||||
|
Loading…
Reference in New Issue
Block a user