Skip to content

Commit

Permalink
reducing number of warnings in playground on first launch
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Sep 15, 2019
1 parent 76cddae commit f6135fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Coverage Status](https://coveralls.io/repos/github/piccolo-orm/piccolo/badge.svg)](https://coveralls.io/github/piccolo-orm/piccolo)

A fast, user friendly ORM which supports asyncio.
A fast, user friendly ORM and query builder which supports asyncio.

Not production ready yet, but progressing quickly.

Expand Down
3 changes: 2 additions & 1 deletion piccolo/commands/playground.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def populate():
"""
for _table in reversed(TABLES):
try:
_table.drop().run_sync()
if _table.table_exists().run_sync():
_table.drop().run_sync()
except Exception as e:
print(e)

Expand Down

0 comments on commit f6135fb

Please sign in to comment.