Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
grigi committed Oct 4, 2018
1 parent 4ed63c2 commit fbd6de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __getattr__(cls, name):


project = 'Tortoise'
copyright = '2018, Andrey Bondar'
copyright = '2018, Andrey Bondar' # pylint: disable=W0622
author = 'Andrey Bondar'


Expand Down
2 changes: 1 addition & 1 deletion tortoise/backends/asyncpg/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async def execute_insert(self, query: str, values: list) -> int:
async with self.acquire_connection() as connection:
# TODO: Cache prepared statement
stmt = await connection.prepare(query)
return (await stmt.fetchval(*values))
return await stmt.fetchval(*values)

@translate_exceptions
async def execute_query(self, query: str) -> List[dict]:
Expand Down

0 comments on commit fbd6de0

Please sign in to comment.