Egon has got a .egon-directory, to hide the database
This commit is contained in:
parent
879eebef70
commit
dc0992579c
2
egon.py
2
egon.py
|
@ -1519,7 +1519,7 @@ class BookModel():
|
||||||
|
|
||||||
## Connect to the database and return the cursor and connection
|
## Connect to the database and return the cursor and connection
|
||||||
def initDB():
|
def initDB():
|
||||||
conn = sqlite.connect('egon.db')
|
conn = sqlite.connect('.egon/egon.db')
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
|
|
||||||
cursor.execute('''
|
cursor.execute('''
|
||||||
|
|
Reference in New Issue