From 951883c6c6f012ea5e0cfb944f69cc01f1e244d2 Mon Sep 17 00:00:00 2001 From: David Barroso Date: Wed, 6 May 2015 22:21:50 +0200 Subject: [PATCH] Strip moved to the parser as it is more useful there --- utils/string_parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/string_parsers.py b/utils/string_parsers.py index 5e9b140..5b14871 100644 --- a/utils/string_parsers.py +++ b/utils/string_parsers.py @@ -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: