Files
baroness/run.py
Ulrich Knechtelsdorfer c84212e151 inital commit
2016-02-13 16:18:48 +01:00

20 lines
319 B
Python
Executable File

#/bin/python
import wx
from app import app
from os import urandom
from app import gui
import thread
if __name__ == '__main__':
#start gui
wx = wx.App()
gui.MainWindow(None)
thread.start_new_thread(wx.MainLoop,())
# start flask
app.secret_key = urandom(24)
app.run(debug=True)
#app.run()