debug output
This commit is contained in:
parent
56da340080
commit
acf6a80ffc
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -5,6 +5,7 @@ from flask_bootstrap import Bootstrap
|
|||
from flask_nav import Nav
|
||||
from flask_nav.elements import Navbar, View, Subgroup, Link, Text, Separator
|
||||
from sml_decoder import TasmotaSMLParser
|
||||
from pprint import pprint
|
||||
|
||||
app = Flask(__name__)
|
||||
Bootstrap(app)
|
||||
|
|
@ -36,6 +37,7 @@ def decode():
|
|||
messages.append({"msg": details, "tas": tasmota_script})
|
||||
|
||||
messages = sorted(messages, key=lambda x: x["msg"]["obis"])
|
||||
pprint(messages)
|
||||
|
||||
return render_template(
|
||||
"decode.html",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue