summaryrefslogtreecommitdiffstats
path: root/modules/hardware.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware.py')
-rwxr-xr-xmodules/hardware.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/hardware.py b/modules/hardware.py
index 50dd705..e2455d1 100755
--- a/modules/hardware.py
+++ b/modules/hardware.py
@@ -50,13 +50,13 @@ class HardwareModule(func_module.FuncModule):
label = data[0]
for d in data:
if d == '':
- results[label] = current
- current = ""
- label = ""
+ results[label] = current
+ current = ""
+ label = ""
else:
- if label == "":
- label = d
- current = current + d
+ if label == "":
+ label = d
+ current = current + d
return results