Skip to content

Commit

Permalink
Oops...
Browse files Browse the repository at this point in the history
Signed-off-by: Sylte <sylteandreas7@gmail.com>
  • Loading branch information
SylteA committed Feb 16, 2021
1 parent e64e3e2 commit 5aa5d1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions postDB/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.2.2"
__version__ = "0.2.3"
__author__ = "Sylte"
__licence__ = "MIT"
__copyright__ = "Copyright (c) 2020 Sylte"
Expand All @@ -18,7 +18,7 @@ def get_version(version: tuple):
return "%s %s.%s.%s" % (version[3], version[0], version[1], version[2])


VERSION = (0, 2, 2, "final", 0)
VERSION = (0, 2, 3, "final", 0)
version_info = VersionInfo(*VERSION)

logging.getLogger(__name__).addHandler(logging.NullHandler())
4 changes: 2 additions & 2 deletions postDB/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async def create_table(
if verbose:
print(sql)

return cls.pool.execute(sql)
return await cls.pool.execute(sql)

@classmethod
async def drop_table(
Expand All @@ -172,7 +172,7 @@ async def drop_table(
if verbose:
print(sql)

return cls.pool.execute(sql)
return await cls.pool.execute(sql)

@classmethod
def all_models(cls) -> List[Type["Model"]]:
Expand Down

0 comments on commit 5aa5d1c

Please sign in to comment.