Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyo committed Oct 16, 2022
1 parent 43f62ea commit 59d23a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/engines/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])[-1]
rows = max(dbs + [16])

db_list = [str(x) for x in range(int(rows))]
result.rows = db_list
Expand Down

0 comments on commit 59d23a4

Please sign in to comment.