Fixed linter issue.
This commit is contained in:
parent
7fa62da881
commit
275aff2902
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from aredis_om.connections import get_redis_connection
|
|||
@lru_cache(maxsize=None)
|
||||
async def check_for_command(conn, cmd):
|
||||
cmd_info = await conn.execute_command("command", "info", cmd)
|
||||
return not None in cmd_info
|
||||
return None not in cmd_info
|
||||
|
||||
|
||||
@lru_cache(maxsize=None)
|
||||
|
|
Loading…
Reference in a new issue