Fix the error

This commit is contained in:
Alexey Masterov
2024-09-10 13:18:47 +02:00
parent c4d98915ff
commit b45560db75

View File

@@ -65,7 +65,7 @@ def setup(remote_pg: RemotePostgres):
log.info("Role found: %s", role[0])
roles.append(role[0])
for role in roles:
cur.execute(f"DROP ROLE {role[0]}")
cur.execute(f"DROP ROLE {role}")
conn.commit()