aboutsummaryrefslogtreecommitdiff
path: root/src/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.py')
-rw-r--r--src/database.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/database.py b/src/database.py
deleted file mode 100644
index 478f62e..0000000
--- a/src/database.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import db.init
-
-_database = None
-
-def init(path):
- global _database
- _database = db.init.init(path)
-
-def cursor():
- global _database
- return _database.cursor()
-
-def commit():
- global _database
- _database.commit()
-
-def close():
- global _database
- _database.close()