turn handler into module

This commit is contained in:
beertap
2022-07-16 23:22:02 +02:00
parent c906e9fc93
commit f776d0ed71
6 changed files with 124 additions and 176 deletions

View File

@@ -1,6 +1,8 @@
from beertap import create_app
from gpio_handler import gpio_test
app = create_app()
if __name__ == "__main__":
gpio_test()
app.run(debug=True)