Skip to content

Commit 6193c23

Browse files
author
Simon Prickett
committed
Fixed linter issue.
1 parent f5b5073 commit 6193c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aredis_om/model/migrations/migrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def schema_hash_key(index_name):
4141

4242
async def create_index(redis: Redis, index_name, schema, current_hash):
4343
db_number = redis.connection_pool.connection_kwargs.get("db")
44-
if db_number and db_number > 0:
44+
if db_number and db_number > 0:
4545
raise MigrationError(
4646
"Creating search indexes is only supported in database 0. "
4747
f"You attempted to create an index in database {db_number}"

0 commit comments

Comments
 (0)