aboutsummaryrefslogtreecommitdiff
path: root/lib/python/kle2xy.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/kle2xy.py')
-rw-r--r--lib/python/kle2xy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/kle2xy.py b/lib/python/kle2xy.py
index 929144319..bff1d025b 100644
--- a/lib/python/kle2xy.py
+++ b/lib/python/kle2xy.py
@@ -46,7 +46,7 @@ class KLE2xy(list):
46 if 'name' in properties: 46 if 'name' in properties:
47 self.name = properties['name'] 47 self.name = properties['name']
48 48
49 def parse_layout(self, layout): 49 def parse_layout(self, layout): # noqa FIXME(skullydazed): flake8 says this has a complexity of 25, it should be refactored.
50 # Wrap this in a dictionary so hjson will parse KLE raw data 50 # Wrap this in a dictionary so hjson will parse KLE raw data
51 layout = '{"layout": [' + layout + ']}' 51 layout = '{"layout": [' + layout + ']}'
52 layout = hjson.loads(layout)['layout'] 52 layout = hjson.loads(layout)['layout']