fixxed imports, added state.py
This commit is contained in:
+2
-1
@@ -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__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user