rpi-rgb/rgb.wsgi

15 lines
401 B
Text
Raw Normal View History

2023-05-28 13:38:23 +02:00
#!/usr/bin/python
import os
import sys
import logging
logging.basicConfig(stream=sys.stderr)
sys.path.insert(0, os.path.dirname(__file__))
activate_this = os.path.join(os.path.dirname(__file__), 'bin/activate_this.py')
with open(activate_this) as file_:
exec(file_.read(), dict(__file__=activate_this))
from app import app as application
application.secret_key = 'something super SUPER secret'