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:
parent
b484b453e0
commit
50e8e2730b
2
app.py
2
app.py
@ -32,7 +32,7 @@ logging.basicConfig(level=logging.DEBUG)
|
|||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
mypath = os.path.dirname(os.path.realpath(__file__))
|
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()
|
sp.activate_all()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user