Commit c79e3fa2 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Tune: Iterate correctly over dict

Fixes #75
parent 9dc56a27
...@@ -67,7 +67,7 @@ class Tune: ...@@ -67,7 +67,7 @@ class Tune:
return item return item
data = data._asdict() data = data._asdict()
for tag, value in data: for tag, value in data.items():
if value is not None: if value is not None:
item.addChild(tag, payload=value) item.addChild(tag, payload=value)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment