diff --git a/sql/engines/redis.py b/sql/engines/redis.py index eda4779755..78072208bb 100644 --- a/sql/engines/redis.py +++ b/sql/engines/redis.py @@ -1,5 +1,5 @@ # -*- coding: UTF-8 -*- -""" +""" @author: hhyo、yyukai @license: Apache Licence @file: redis.py @@ -72,7 +72,7 @@ def get_all_databases(self, **kwargs): for i in conn.info("Keyspace").keys() if len(i.split("db")) == 2 ] - rows = max(dbs, [16]) + rows = max(dbs + [16]) db_list = [str(x) for x in range(int(rows))] result.rows = db_list