Skip to content

Commit 68036d7

Browse files
committed
Update application.py
1 parent 38c4bb8 commit 68036d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: application.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ def __init__(self):
2323
)
2424

2525
cur = self.db.cursor()
26-
cur.execute("DROP TABLE IF EXISTS scores")
27-
cur.execute("CREATE TABLE scores(score INT)")
26+
cur.execute("CREATE TABLE IF NOT EXISTS scores(score INT)")
2827

2928
def populate(self):
3029
cur = self.db.cursor()

0 commit comments

Comments
 (0)