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

This commit is contained in:
LeoVasanko committed 2025-08-07 01:23:35 +00:00
1 parent 0578706bdf
commit df377c4a14
11 files changed
+120 -67

No files matched your search

+2 -1
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)