From 275aff2902d8c5fa411e4f79ab319be605d12302 Mon Sep 17 00:00:00 2001 From: Simon Prickett Date: Thu, 13 Jan 2022 17:10:51 +0000 Subject: [PATCH] Fixed linter issue. --- aredis_om/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aredis_om/checks.py b/aredis_om/checks.py index 78aa75c..be2332c 100644 --- a/aredis_om/checks.py +++ b/aredis_om/checks.py @@ -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)