refactor: fix some not x in y and not x not in y
This commit is contained in:
@@ -132,7 +132,7 @@ class BaseMinerRPCAPI:
|
||||
async def _handle_multicommand(self, command: str, allow_warning: bool = True):
|
||||
try:
|
||||
data = await self.send_command(command, allow_warning=allow_warning)
|
||||
if not "+" in command:
|
||||
if "+" not in command:
|
||||
return {command: [data]}
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user