From 46b7c38d59d41255cce9282c9a846fe6fee80801 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 14 May 2018 15:04:02 +0100 Subject: Fix bug in Conf file parser --- app/tasks/importtasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/tasks/importtasks.py') diff --git a/app/tasks/importtasks.py b/app/tasks/importtasks.py index f39a224..e0102b8 100644 --- a/app/tasks/importtasks.py +++ b/app/tasks/importtasks.py @@ -114,7 +114,7 @@ def parseConf(string): for line in string.split("\n"): idx = line.find("=") if idx > 0: - key = line[:idx-1].strip() + key = line[:idx].strip() value = line[idx+1:].strip() retval[key] = value -- cgit v1.2.3