Globals restructured to their own module. Origin and RP definition.

This commit is contained in:
Leo Vasanko
2025-08-06 13:23:35 -06:00
parent 5a129220aa
commit dcca3e3fbd
11 changed files with 120 additions and 67 deletions

View File

@@ -11,7 +11,8 @@ independent of any web framework:
from datetime import datetime, timedelta
from uuid import UUID
from .db import Session, db
from .db import Session
from .globals import db
from .util.tokens import create_token, reset_key, session_key
EXPIRES = timedelta(hours=24)