1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

Added default plugins to app.py

This commit is contained in:
J. Fernando Sánchez 2015-10-06 14:39:42 +02:00
parent b484b453e0
commit 50e8e2730b

2
app.py
View File

@ -32,7 +32,7 @@ logging.basicConfig(level=logging.DEBUG)
app = Flask(__name__)
mypath = os.path.dirname(os.path.realpath(__file__))
sp = Senpy(app, os.path.join(mypath, "plugins"))
sp = Senpy(app, os.path.join(mypath, "plugins"), default_plugins=True)
sp.activate_all()
if __name__ == '__main__':