Removed auto database deletion on restart
This commit is contained in:
parent
e8561d0b6e
commit
cfaaa5d17a
2
db.py
2
db.py
|
@ -9,7 +9,7 @@ def create_table():
|
||||||
try:
|
try:
|
||||||
# please remove this later,
|
# please remove this later,
|
||||||
# it just removes the database for testing
|
# it just removes the database for testing
|
||||||
pathlib.Path.unlink("./stats.db")
|
#pathlib.Path.unlink("./stats.db")
|
||||||
|
|
||||||
conn = sqlite3.connect('stats.db')
|
conn = sqlite3.connect('stats.db')
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
|
|
Loading…
Reference in a new issue