fixxed imports, added state.py

This commit is contained in:
2026-02-16 14:49:18 +01:00
parent 6265683cce
commit f3679cbd29
6 changed files with 26 additions and 3 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
# app/routes/api.py
import pygame
from flask import Blueprint, jsonify, request
from .. import current_device, current_config, pygame
from app.state import current_device, current_config
api_bp = Blueprint('api', __name__)