Skip to content

Commit

Permalink
Update example_simple_sa.py (#308)
Browse files Browse the repository at this point in the history
Fixed nonexistent call: await conn.commit()
  • Loading branch information
IdeoG authored and jettify committed Jul 3, 2018
1 parent 2a2a6c9 commit da37273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example_simple_sa.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def go(loop):
async for row in conn.execute(tbl.select()):
print(row.id, row.val)

await conn.commit()
await conn.execute("commit")

engine.close()
await engine.wait_closed()
Expand Down

0 comments on commit da37273

Please sign in to comment.