Commit e31250c8 authored by librebob's avatar librebob

Fix db path.

parent bacba24c
Pipeline #56992962 passed with stage
in 1 minute and 47 seconds
......@@ -72,7 +72,7 @@ class GameRepository():
def createDatabase():
try:
db = SqliteDatabase(db_path)
db = SqliteDatabase(db_path + '/store.db')
except Error as e:
sys.exit("Error creating database.")
......@@ -82,4 +82,4 @@ def initDatabase():
def eraseDatabase():
db.close()
os.remove(db_path)
db.remove(db_path + '/store.db')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment