mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-25 11:00:53 +08:00
Init database module
This commit is contained in:
16
src/module/database/connector.py
Normal file
16
src/module/database/connector.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from sqlite3 import Cursor
|
||||
|
||||
|
||||
from module.conf import settings, DATA_PATH
|
||||
|
||||
|
||||
class DataConnector:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def __enter__(self):
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user