Strip moved to the parser as it is more useful there

This commit is contained in:
David Barroso committed 2015-05-06 22:21:50 +02:00
1 parent 96cb6e2a15
commit 951883c6c6
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ def colon_separated_string_to_dict(string):
line_data = line.split(':')
if len(line_data) > 1:
dictionary[line_data[0].strip()] = ''.join(line_data[1:])
dictionary[line_data[0].strip()] = ''.join(line_data[1:]).strip()
elif len(line_data) == 1:
dictionary[line_data[0].strip()] = None
else: