Fix enum values.

This commit is contained in:
Sergey Vartanov 2021-10-20 23:49:34 +03:00
parent 15ab5e7d62
commit a5910786e2
13 changed files with 31 additions and 35 deletions

View file

@ -635,7 +635,7 @@ class Scheme:
texts.append(Label(f"{tags['height']} m"))
processed.add("height")
for tag in tags:
if self.is_writable(tag) and tag not in processed:
if self.is_writable(tag, tags[tag]) and tag not in processed:
texts.append(Label(tags[tag]))
return texts