Allow running with non working

This commit is contained in:
pythongosssss
2025-03-28 11:46:05 +08:00
parent 7bf381bc9e
commit fde9fdddff
2 changed files with 10 additions and 3 deletions

View File

@@ -111,6 +111,8 @@ def init_db():
session.commit()
def can_create_session():
return Session is not None
def create_session():
return Session()