parent
ec3f1b1ef7
commit
2f18a343d8
@ -0,0 +1,3 @@
|
||||
class Database(object):
|
||||
def connection(self):
|
||||
pass
|
@ -0,0 +1,10 @@
|
||||
import database
|
||||
import sqlite3
|
||||
|
||||
|
||||
class DatabaseSQLite(database.Database):
|
||||
conn = sqlite3.connect
|
||||
|
||||
def connection(self):
|
||||
self.conn = sqlite3.connect("../../../data/lib_manager.db")
|
||||
|
Loading…
Reference in new issue