Need to strip values separated
This commit is contained in:
parent
53b49a4fbd
commit
a0082fb3b1
@ -43,8 +43,8 @@ class RedshiftController(threading.Thread):
|
||||
"""Convert output to key value pairs"""
|
||||
|
||||
try:
|
||||
key, value = line.strip().split(":")
|
||||
self.update_value(key, value)
|
||||
key, value = line.split(":")
|
||||
self.update_value(key.strip(), value.strip())
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user