Update presets.py

main
witchdocsec 2024-05-16 13:29:35 +01:00 committed by GitHub
parent ae7dfa3fd4
commit 810c7dca53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -1,9 +1,11 @@
#imports
from sqlalchemy import create_engine, Column, String, Integer
from sqlalchemy.orm import sessionmaker, declarative_base
from os.path import exists
from os import mkdir
from contextlib import contextmanager
#sql alchemy base for tables to inherit from
Base = declarative_base()
# Ensure the directory for the database exists