Allow locks to be gathered even when the bot is stopped

This commit is contained in:
Matthias
2020-11-13 06:51:45 +01:00
parent 5f483acdd0
commit 4eb96cfc4f
2 changed files with 0 additions and 9 deletions

View File

@@ -605,8 +605,6 @@ class RPC:
def _rpc_locks(self) -> Dict[str, Any]:
""" Returns the current locks"""
if self._freqtrade.state != State.RUNNING:
raise RPCException('trader is not running')
locks = PairLocks.get_pair_locks(None)
return {