diff --git a/requirements.txt b/requirements.txt index 149b53a..15178ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ Flask==2.3.2 -Flask_MySQLdb==2.0.0 neopixel==0.0.1 +pymysql==1.1.0 python_osc==1.8.3 Requests==2.31.0 wifi==0.3.8 diff --git a/server/app.py b/server/app.py index 9780310..78e46d5 100644 --- a/server/app.py +++ b/server/app.py @@ -1,8 +1,10 @@ import socket from flask import Flask, render_template, request, jsonify -from flask_mysqldb import MySQL from pythonosc import udp_client, dispatcher, osc_server import json +import pymysql + +pymysql.install_as_MySQLdb() app = Flask(__name__)