mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
remove unnecessary returns
This commit is contained in:
parent
df3c126146
commit
379b1cbc90
|
@ -73,7 +73,6 @@ async def _process_consumer_request(
|
|||
response = WSWhitelistMessage(data=whitelist)
|
||||
# Send it back
|
||||
await channel.send(response.dict(exclude_none=True))
|
||||
return
|
||||
|
||||
elif type == RPCRequestType.ANALYZED_DF:
|
||||
limit = None
|
||||
|
@ -90,8 +89,6 @@ async def _process_consumer_request(
|
|||
response = WSAnalyzedDFMessage(data=message)
|
||||
await channel.send(response.dict(exclude_none=True))
|
||||
|
||||
return
|
||||
|
||||
|
||||
@router.websocket("/message/ws")
|
||||
async def message_endpoint(
|
||||
|
|
Loading…
Reference in New Issue
Block a user